aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2014-01-12 18:35:07 +0100
committerMarkus Meier <maekke@gentoo.org>2014-01-12 18:35:07 +0100
commit6bd6d647f2fea472536dd64d39767388905b42d2 (patch)
treea03e6175ca927848d4c720333520fab5fdab8598 /scripts
parentadd scripts to detect missing subslot operator deps (diff)
downloadmaekke-6bd6d647f2fea472536dd64d39767388905b42d2.tar.gz
maekke-6bd6d647f2fea472536dd64d39767388905b42d2.tar.bz2
maekke-6bd6d647f2fea472536dd64d39767388905b42d2.zip
select /usr/portage only by default
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-subslot-deps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-subslot-deps.py b/scripts/check-subslot-deps.py
index 01ec212..26f41ca 100755
--- a/scripts/check-subslot-deps.py
+++ b/scripts/check-subslot-deps.py
@@ -66,8 +66,8 @@ class CheckSubSlot:
m = re.search(":[0-9]*?=", pkg)
return m is not None
- def getPackages(self, categories=None):
- return self.dbapi.cp_all(categories=categories)
+ def getPackages(self, trees=["/usr/portage"], categories=None):
+ return self.dbapi.cp_all(categories=categories, trees=trees)
def getPackageVersions(self, cp):
return self.dbapi.cp_list(cp)