hgext/bugzilla.py
changeset 2239 5e5adc1910ed
parent 2221 05b6c13f43c6
child 2306 4c67ba93560b
--- a/hgext/bugzilla.py
+++ b/hgext/bugzilla.py
@@ -214,6 +214,7 @@ class bugzilla(object):
                 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: