projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5777ba
)
Adjust StaticFileSet._validate() to allow set tokens, so that sets can contain
author
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Sep 2008 02:13:35 +0000
(
02:13
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 3 Sep 2008 02:13:35 +0000
(
02:13
-0000)
other sets.
svn path=/main/trunk/; revision=11486
pym/portage/sets/files.py
patch
|
blob
|
history
diff --git
a/pym/portage/sets/files.py
b/pym/portage/sets/files.py
index d26f29d1db1b2be4553ff79465ed7087ea9e5ee8..e02c1e7b2a3494a287f0a2edd4fd60108938e519 100644
(file)
--- a/
pym/portage/sets/files.py
+++ b/
pym/portage/sets/files.py
@@
-56,7
+56,7
@@
class StaticFileSet(EditablePackageSet):
setattr(self, key, " ".join(value))
def _validate(self, atom):
- return
ValidAtomValidator(atom
)
+ return
bool(atom[:1] == SETPREFIX or ValidAtomValidator(atom)
)
def write(self):
write_atomic(self._filename, "".join("%s\n" % (atom,) \