Commit d83fdef1 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont 🤔
Browse files

Brown paper bag update for the closedbugs plugin...

parent 5605b61c
......@@ -104,7 +104,7 @@ class ClosedBugsPlugin(BasePlugin):
name = data["raw"][bug]['package']
data["bugs"][name].append((bug, data["raw"][bug]["subject"], data["raw"][bug]["severity"]))
if not data["raw"][bug]['source'] == self.changes["Source"] or name == "wnpp":
if not (data["raw"][bug]['source'] == self.changes["Source"] or name == "wnpp"):
data["errors"].append('Bug #%s does not belong to this package' % bug)
severity = max(severity, constants.PLUGIN_SEVERITY_ERROR)
......
Supports Markdown
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