summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-28 21:46:23 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-28 21:46:23 +0000
commit83d325a21cc0d586bf3a994f75d4d9dded2e25bd (patch)
treea99892666993cb924cd06e5f289db6cf997e57d5
parent854abf1726435e1031d4e261a20a94a6da0db3aa (diff)
downloadportage-83d325a21cc0d586bf3a994f75d4d9dded2e25bd.tar.gz
portage-83d325a21cc0d586bf3a994f75d4d9dded2e25bd.tar.bz2
portage-83d325a21cc0d586bf3a994f75d4d9dded2e25bd.zip
Fix broken reference to "categories" in CategorySet.singleBuilder(). Thanks
to Thargor for reporting. svn path=/main/trunk/; revision=11250
-rw-r--r--pym/portage/sets/dbapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/sets/dbapi.py b/pym/portage/sets/dbapi.py
index bacc3a5c5..5352a32f3 100644
--- a/pym/portage/sets/dbapi.py
+++ b/pym/portage/sets/dbapi.py
@@ -70,7 +70,7 @@ class CategorySet(PackageSet):
raise SetConfigError("no category given")
category = options["category"]
- if not category in categories:
+ if not category in settings.categories:
raise SetConfigError("invalid category name '%s'" % category)
repository = cls._builderGetRepository(options, trees.keys())