From: Zac Medico Date: Fri, 25 Apr 2008 18:39:18 +0000 (-0000) Subject: Bug #219251 - Fix typo in PORTDIR_OVERLAY when searching for sets.conf files. X-Git-Tag: v2.2_pre6~112 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d8ce69901e267bdbe2afe59fdcef420df46f25ae;p=portage.git Bug #219251 - Fix typo in PORTDIR_OVERLAY when searching for sets.conf files. Thanks to Manuel Nickschas for fixing this. svn path=/main/trunk/; revision=9976 --- diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py index 39cebdf84..476aea4ca 100644 --- a/pym/portage/sets/__init__.py +++ b/pym/portage/sets/__init__.py @@ -102,7 +102,7 @@ class SetConfig(SafeConfigParser): def load_default_config(settings, trees): setconfigpaths = [os.path.join(GLOBAL_CONFIG_PATH, "sets.conf")] setconfigpaths.append(os.path.join(settings["PORTDIR"], "sets.conf")) - setconfigpaths += [os.path.join(x, "sets.conf") for x in settings["PORDIR_OVERLAY"].split()] + setconfigpaths += [os.path.join(x, "sets.conf") for x in settings["PORTDIR_OVERLAY"].split()] setconfigpaths.append(os.path.join(settings["PORTAGE_CONFIGROOT"], USER_CONFIG_PATH.lstrip(os.path.sep), "sets.conf")) return SetConfig(setconfigpaths, settings, trees)