tfix dependency list creation in package_banned() - amprolla - devuan's apt repo merger (HTM) git clone git://parazyd.org/amprolla.git (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit ae99aa1f36da29f6b0388e540e227a19e3363ea3 (DIR) parent eff20828ac83ff84d61906e17617431b943e9b24 (HTM) Author: parazyd <parazyd@dyne.org> Date: Thu, 6 Jul 2017 23:32:18 +0200 fix dependency list creation in package_banned() Diffstat: M lib/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/lib/package.py b/lib/package.py t@@ -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))