summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"