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
26f418bd
Commit
26f418bd
authored
Jul 14, 2012
by
Clément Schreiner
Browse files
Use dict.iteritems() instead of ugly syntax.
parent
a763ef32
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/plugins/debtags.py
View file @
26f418bd
...
...
@@ -110,8 +110,8 @@ class DebtagsPlugin(BasePlugin):
tags
=
autotag
.
get_tags
()
if
len
(
tags
)
==
0
:
log
.
debug
(
'No tag found by heuristics.'
)
for
pkg
in
tags
:
for
tag
in
tags
[
pkg
]
:
for
pkg
,
tags
in
tags
.
iteritems
()
:
for
tag
in
tags
:
self
.
_new_result
(
Debtag
,
tag
=
tag
,
source
=
'autotag'
,
package
=
pkg
)
...
...
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