summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/sets/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/sets/files.py b/pym/portage/sets/files.py
index d26f29d1d..e02c1e7b2 100644
--- 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,) \