Commit 5b37324f authored by Edward Hervey's avatar Edward Hervey Committed by Daniel Stone
Browse files

Treat product/component having the same value as 'General'

parent d823513b
......@@ -213,7 +213,7 @@ def processbug(bgo, target, user_cache, milestone_cache, bzbug):
if bzbug.status == 'NEEDINFO':
labels += [NEEDINFO_LABEL]
if bzbug.component.lower() not in ('general', '.general'):
if bzbug.component.lower() not in ('general', '.general', target.product):
l = COMPONENT_MAP.get(bzbug.component, None)
if l is not None:
labels.append(l)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment