bugzilla hook: skip empty groups.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Tue, 09 May 2006 14:39:56 -0700
changeset 2239 5e5adc1910ed
parent 2231 9a2f4b2e7cf1
child 2240 56fddd98fef5
bugzilla hook: skip empty groups.
hgext/bugzilla.py
--- 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: