projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f808ff
)
Don't load FEATURES in load_infodir() because FEATURES from the build host shouldn...
author
Zac Medico
<zmedico@gentoo.org>
Mon, 9 Apr 2007 17:18:22 +0000
(17:18 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 9 Apr 2007 17:18:22 +0000
(17:18 -0000)
svn path=/main/trunk/; revision=6358
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 072262a31e9215fd11d7fd2b4e62a454f042be07..50ef2cc1a10baffe055e15f9fb08b867c06c94bd 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-1627,6
+1627,10
@@
class config:
myre = re.compile('^[A-Z]+$')
null_byte = "\0"
for filename in listdir(infodir,filesonly=1,EmptyOnError=1):
+ if filename == "FEATURES":
+ # FEATURES from the build host shouldn't be interpreted as
+ # FEATURES on the client system.
+ continue
if myre.match(filename):
try:
file_path = os.path.join(infodir, filename)