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
89fd4b43
Commit
89fd4b43
authored
Feb 22, 2012
by
Nicolas Dandrimont
🤔
Browse files
Store bug information for all packages, not only the "valid" ones
parent
04e1258e
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/plugins/closedbugs.py
View file @
89fd4b43
...
@@ -102,10 +102,9 @@ class ClosedBugsPlugin(BasePlugin):
...
@@ -102,10 +102,9 @@ class ClosedBugsPlugin(BasePlugin):
severity
=
max
(
severity
,
constants
.
PLUGIN_SEVERITY_ERROR
)
severity
=
max
(
severity
,
constants
.
PLUGIN_SEVERITY_ERROR
)
name
=
data
[
"raw"
][
bug
][
'package'
]
name
=
data
[
"raw"
][
bug
][
'package'
]
data
[
"bugs"
][
name
].
append
((
bug
,
data
[
"raw"
][
bug
][
"subject"
],
data
[
"raw"
][
bug
][
"severity"
]))
if
data
[
"raw"
][
bug
][
'source'
]
==
self
.
changes
[
"Source"
]
or
name
==
"wnpp"
:
if
not
data
[
"raw"
][
bug
][
'source'
]
==
self
.
changes
[
"Source"
]
or
name
==
"wnpp"
:
data
[
"bugs"
][
name
].
append
((
bug
,
data
[
"raw"
][
bug
][
"subject"
],
data
[
"raw"
][
bug
][
"severity"
]))
else
:
data
[
"errors"
].
append
(
'Bug #%s does not belong to this package'
%
bug
)
data
[
"errors"
].
append
(
'Bug #%s does not belong to this package'
%
bug
)
severity
=
max
(
severity
,
constants
.
PLUGIN_SEVERITY_ERROR
)
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