commit ae99aa1f36da29f6b0388e540e227a19e3363ea3
parent eff20828ac83ff84d61906e17617431b943e9b24
Author: parazyd <parazyd@dyne.org>
Date: Thu, 6 Jul 2017 23:32:18 +0200
fix dependency list creation in package_banned()
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/package.py b/lib/package.py
@@ -85,8 +85,8 @@ def package_banned(pkg, banned_pkgs):
depends = parse_dependencies(pkg.get('Depends', ''))
pre_depends = parse_dependencies(pkg.get('Pre-Depends', ''))
- depends = [v[0] for v in depends]
- pre_depends = [v[0] for v in pre_depends]
+ depends = [v for v in depends]
+ pre_depends = [v for v in pre_depends]
deps = set(depends).union(set(pre_depends))