diff options
author | 2014-01-12 18:35:07 +0100 | |
---|---|---|
committer | 2014-01-12 18:35:07 +0100 | |
commit | 6bd6d647f2fea472536dd64d39767388905b42d2 (patch) | |
tree | a03e6175ca927848d4c720333520fab5fdab8598 /scripts | |
parent | add scripts to detect missing subslot operator deps (diff) | |
download | maekke-6bd6d647f2fea472536dd64d39767388905b42d2.tar.gz maekke-6bd6d647f2fea472536dd64d39767388905b42d2.tar.bz2 maekke-6bd6d647f2fea472536dd64d39767388905b42d2.zip |
select /usr/portage only by default
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-subslot-deps.py | 4 |
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) |