summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/sets/__init__.py2
1 files changed, 1 insertions, 1 deletions
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: