diff scripts/notify-roundup/notify-roundup.py @ 4180:f6ab54a4cd6b gsoc-2009

Does it work now
author Pygi <pygi@users.sourceforge.net>
date Tue, 07 Jul 2009 15:25:11 +0000
parents e81df731d2d2
children 5501a3778903
line wrap: on
line diff
--- a/scripts/notify-roundup/notify-roundup.py	Tue Jul 07 15:16:36 2009 +0000
+++ b/scripts/notify-roundup/notify-roundup.py	Tue Jul 07 15:25:11 2009 +0000
@@ -53,11 +53,11 @@
     
     vcs_type = cfg.get('vcs', 'type')
     
+    logger.debug('VCS TYPE:', vcs_type)
     if vcs_type == 'svn':
         revision = int(sys.argv[3])
     elif vcs_type == 'hg':
-        rev_type = sys.argv[3].split(':')
-        revision = rev_type[1]
+        revision = sys.argv[3]
     else:
         logging.error('something wen\'t wrong')
         

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