diff scripts/notify-roundup/notify-roundup.py @ 4190:f3ab8192f484 gsoc-2009

bugfix
author Pygi <pygi@users.sourceforge.net>
date Tue, 07 Jul 2009 16:41:04 +0000
parents 0356a67b747f
children 3ef63914f473
line wrap: on
line diff
--- a/scripts/notify-roundup/notify-roundup.py	Tue Jul 07 16:39:44 2009 +0000
+++ b/scripts/notify-roundup/notify-roundup.py	Tue Jul 07 16:41:04 2009 +0000
@@ -56,7 +56,8 @@
     if vcs_type == 'svn':
         revision = int(sys.argv[3])
     elif vcs_type == 'hg':
-        revision = sys.argv[3]
+        revisions = sys.argv[3].split(':')
+        revision = revisions[0]
     else:
         logging.error('something wen\'t wrong')
         

Roundup Issue Tracker: http://roundup-tracker.org/