changeset 2239:5e5adc1910ed

bugzilla hook: skip empty groups.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 09 May 2006 14:39:56 -0700
parents 9a2f4b2e7cf1
children 56fddd98fef5
files hgext/bugzilla.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/bugzilla.py	Tue May 09 13:26:16 2006 +0200
+++ b/hgext/bugzilla.py	Tue May 09 14:39:56 2006 -0700
@@ -214,6 +214,7 @@
                 break
             start = m.end()
             for id in bugzilla._split_re.split(m.group(1)):
+                if not id: continue
                 ids[int(id)] = 1
         ids = ids.keys()
         if ids: