Bug #219251 - Fix typo in PORTDIR_OVERLAY when searching for sets.conf files.
authorZac Medico <zmedico@gentoo.org>
Fri, 25 Apr 2008 18:39:18 +0000 (18:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 25 Apr 2008 18:39:18 +0000 (18:39 -0000)
Thanks to Manuel Nickschas <sputnick@quassel-irc.org> for fixing this.

svn path=/main/trunk/; revision=9976

pym/portage/sets/__init__.py

index 39cebdf842bd8b9a60784ae6208baecd1edae306..476aea4cab86c6de935e6a85a27c384066833ba3 100644 (file)
@@ -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)