changeset 398:09b7b7bf0b04 treepkg-status

fixed status line for revision
author Bjoern Ricks <bricks@intevation.de>
date Fri, 09 Jul 2010 15:06:15 +0000
parents a7bf4464bd60
children 04310ad0063e
files treepkg/info/status.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/info/status.py	Fri Jul 09 14:44:52 2010 +0000
+++ b/treepkg/info/status.py	Fri Jul 09 15:06:15 2010 +0000
@@ -46,7 +46,7 @@
         for rev in revisions:
             revision = rev.revision
             rules_revision = rev.rules_revision
-            status  = rev.status.status # extend status
+            status  = rev.status.status.description  # extend status
             platforminfo = self.get_platform(rev)
             revinfo = TreepkgTrackRevisionInfo(revision, rules_revision, 
                                                status, platforminfo)
@@ -205,7 +205,7 @@
         # add <logs>
         logsele = createTpkgElement(doc, "logs")
         for log in self.logs:
-            logsele.appendChild(log)
+            logsele.appendChild(log.toxml())
         root.appendChild(logsele)
         return root
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)