From 41586dcf1bc6b95cb1280eeb505dfe4d0558a142 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Fri, 5 Oct 2007 19:34:21 +0000 Subject: [PATCH] only add short names for sets if they begin with 'sets/' svn path=/main/trunk/; revision=7957 --- pym/portage/sets/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/sets/__init__.py b/pym/portage/sets/__init__.py index c65cd8f89..481fa8b7a 100644 --- a/pym/portage/sets/__init__.py +++ b/pym/portage/sets/__init__.py @@ -232,7 +232,7 @@ class SetConfig(SafeConfigParser): shortnames = {} for name in self.psets: mysplit = name.split("/") - if len(mysplit) > 1 and mysplit[-1] != "": + if len(mysplit) > 1 and mysplit[0] == "sets" and mysplit[-1] != "": if mysplit[-1] in shortnames: del shortnames[mysplit[-1]] else: -- 2.26.2