diff bin/listpackages.py @ 328:dd2bd0ccd674

Revisions are now handled as strings
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 17 Mar 2010 14:26:16 +0000
parents 1fcdffbeb9de
children
line wrap: on
line diff
--- a/bin/listpackages.py	Wed Mar 17 13:42:42 2010 +0000
+++ b/bin/listpackages.py	Wed Mar 17 14:26:16 2010 +0000
@@ -43,11 +43,11 @@
     if len(split_revision) > 2:
         raise ValueError("Cannot parse revision %r; too many '-' signs"
                          % raw_revision)
-    revision = int(split_revision[0])
+    revision = split_revision[0]
     if len(split_revision) == 1:
         rulesrev = None
     else:
-        rulesrev = int(split_revision[1])
+        rulesrev = split_revision[1]
 
     return revision, rulesrev
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)