Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
d83fdef1
Commit
d83fdef1
authored
Feb 26, 2012
by
Nicolas Dandrimont
🤔
Browse files
Brown paper bag update for the closedbugs plugin...
parent
5605b61c
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/plugins/closedbugs.py
View file @
d83fdef1
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment