Commit 870f8e7f authored by Clément Schreiner's avatar Clément Schreiner
Browse files

Skip the importing of tags from debtags database for packages already in debian.

parent 405ae114
......@@ -95,11 +95,11 @@ class DebtagsPlugin(BasePlugin):
q = q.filter_by(package_version_id = self.package_version.id)
self.binary_packages = q.all()
if self._package_in_debian:
for pkg in self.binary_packages:
for tag in self._tags_from_db[pkg.name]:
self._new_result(Debtag, tag = tag, source = 'debtags',
package = pkg)
# if self._package_in_debian:
# for pkg in self.binary_packages:
# for tag in self._tags_from_db[pkg.name]:
# self._new_result(Debtag, tag = tag, source = 'debtags',
# package = pkg)
log.debug('Applying debtags heuristics to the package')
......
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