From: Zac Medico Date: Mon, 28 Jul 2008 21:46:23 +0000 (-0000) Subject: Fix broken reference to "categories" in CategorySet.singleBuilder(). Thanks X-Git-Tag: v2.2_rc5~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83d325a21cc0d586bf3a994f75d4d9dded2e25bd;p=portage.git Fix broken reference to "categories" in CategorySet.singleBuilder(). Thanks to Thargor for reporting. svn path=/main/trunk/; revision=11250 --- 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())