changeset 343:c0808837fc64

Last changed revision is now again correctly returned as a string
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 22 Apr 2010 19:25:02 +0000
parents 95e3ddc8c2f0
children f06f707d9fda
files treepkg/subversion.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/subversion.py	Thu Apr 22 13:05:19 2010 +0000
+++ b/treepkg/subversion.py	Thu Apr 22 19:25:02 2010 +0000
@@ -198,8 +198,9 @@
 
     def last_changed_revision(self, localdir):
         """Returns the last changed revision of the working copy in localdir"""
-        return max([int(last_changed_revision(os.path.join(localdir, d)))
+        max_rev = max([int(last_changed_revision(os.path.join(localdir, d)))
                     for d in [localdir] + list(self.external_subdirs)])
+        return str(max_rev)
 
     def check_working_copy(self, localdir):
         """Checks whether localdir contains a checkout of the
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)