aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pym/gentoolkit/flag.py')
-rw-r--r--pym/gentoolkit/flag.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/flag.py b/pym/gentoolkit/flag.py
index 478eb6d..f2bed6f 100644
--- a/pym/gentoolkit/flag.py
+++ b/pym/gentoolkit/flag.py
@@ -118,7 +118,7 @@ def filter_flags(use, use_expand_hidden, usemasked, useforced):
"""
# clean out some environment flags, since they will most probably
# be confusing for the user
- use = dict((reduce_flag(flag), flag) for flag in use)
+ use = {reduce_flag(flag): flag for flag in use}
for f in use_expand_hidden:
f = f.lower() + "_"
for x in list(use):