a subset of categories. Thanks to dol-sen for the suggestion. (trunk r15323)
svn path=/main/branches/2.1.7/; revision=15556
else:
return 0
- def cp_all(self):
+ def cp_all(self, categories=None):
"returns a list of all keys in our tree"
d = {}
- for x in self.settings.categories:
+ if categories is None:
+ categories = self.settings.categories
+ for x in categories:
for oroot in self.porttrees:
for y in listdir(oroot+"/"+x, EmptyOnError=1, ignorecvs=1, dirsonly=1):
if not self._pkg_dir_name_re.match(y) or \