projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb687e9
)
only add short names for sets if they begin with 'sets/'
author
Marius Mauch
<genone@gentoo.org>
Fri, 5 Oct 2007 19:34:21 +0000
(19:34 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Fri, 5 Oct 2007 19:34:21 +0000
(19:34 -0000)
svn path=/main/trunk/; revision=7957
pym/portage/sets/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/__init__.py
b/pym/portage/sets/__init__.py
index c65cd8f89a9f25c7b338105657ff4bd4bdec6ca6..481fa8b7abb2e4139e7e97c69bee03f234de8aad 100644
(file)
--- 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: