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
617913a5
Commit
617913a5
authored
Jul 09, 2012
by
Clément Schreiner
Browse files
Fix indentation.
parent
b3513fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/plugins/similar.py
View file @
617913a5
...
...
@@ -59,13 +59,13 @@ class SimilarPlugin(BasePlugin):
def
test_similar_packages
(
self
):
binary_packages
=
self
.
package_version
.
get_binary_packages
()
packages
=
[
b
.
name
for
b
in
binary_packages
]
descriptions
=
[
b
.
get_description
()
for
b
in
binary_packages
]
packages
=
[
b
.
name
for
b
in
binary_packages
]
descriptions
=
[
b
.
get_description
()
for
b
in
binary_packages
]
sd
=
SemanticData
(
packages
,
descriptions
)
sd
=
SemanticData
(
packages
,
descriptions
)
for
p
in
sd
.
iter_similar_packages
():
self
.
_add_result
(
**
p
)
for
p
in
sd
.
iter_similar_packages
():
self
.
_add_result
(
**
p
)
plugin
=
SimilarPlugin
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