aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2014-01-12 19:06:13 +0100
committerMarkus Meier <maekke@gentoo.org>2014-01-12 19:06:13 +0100
commita4c76b1db62d7e5d9158350f164282d1ebd31cb2 (patch)
treed1c3bf0876bd20d0d4fa6a11e4e3029fd113e809
parentselect /usr/portage only by default (diff)
downloadmaekke-a4c76b1db62d7e5d9158350f164282d1ebd31cb2.tar.gz
maekke-a4c76b1db62d7e5d9158350f164282d1ebd31cb2.tar.bz2
maekke-a4c76b1db62d7e5d9158350f164282d1ebd31cb2.zip
only use RDEPEND for now, results seem saner like that
-rwxr-xr-xscripts/check-subslot-deps.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/check-subslot-deps.py b/scripts/check-subslot-deps.py
index 26f41ca..6a0984e 100755
--- a/scripts/check-subslot-deps.py
+++ b/scripts/check-subslot-deps.py
@@ -25,8 +25,7 @@ class CheckSubSlot:
print("%s: %s" % (cpv, " ".join(missingSubSlotDep)))
def _getDepend(self, cpv):
- deps = self.dbapi.aux_get(cpv, ["DEPEND", "RDEPEND"])
- deps = deps[0] + " " + deps[1]
+ deps = self.dbapi.aux_get(cpv, ["RDEPEND"])[0]
result = []
for dep in deps.split():
if self._isValidAtom(dep):