summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-08 10:30:43 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-08 10:30:43 -0700
commit4cab203adf5ab95d8a0cfa986a1da6c9f2b82809 (patch)
tree974b5469dbc91dcf8443583c451b2f18279bdfae
parent706dd18b2a2936b0fe6a3bed7e1932eef54f0bd1 (diff)
downloadportage-4cab203adf5ab95d8a0cfa986a1da6c9f2b82809.tar.gz
portage-4cab203adf5ab95d8a0cfa986a1da6c9f2b82809.tar.bz2
portage-4cab203adf5ab95d8a0cfa986a1da6c9f2b82809.zip
autounmask-write: prefer package.accept_keywords
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index b024b88e9..074e28769 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5788,8 +5788,8 @@ class depgraph(object):
settings["PORTAGE_CONFIGROOT"], USER_CONFIG_PATH)
if root in unstable_keyword_msg:
- if os.path.exists(os.path.join(abs_user_config,
- "package.accept_keywords")):
+ if not os.path.exists(os.path.join(abs_user_config,
+ "package.keywords")):
filename = "package.accept_keywords"
else:
filename = "package.keywords"