summaryrefslogtreecommitdiffstats
path: root/src/script/scons-configure-cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/scons-configure-cache.py')
-rw-r--r--src/script/scons-configure-cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/scons-configure-cache.py b/src/script/scons-configure-cache.py
index 2648acd..73ccf18 100644
--- a/src/script/scons-configure-cache.py
+++ b/src/script/scons-configure-cache.py
@@ -99,7 +99,7 @@ for param in config_entries:
parser.add_argument('--version', action='version', version='%(prog)s 1.0')
# Get the command line as a dict without any of the unspecified entries.
-args = dict([x for x in list(vars(parser.parse_args()).items()) if x[1]])
+args = dict([x for x in vars(parser.parse_args()).items() if x[1]])
# It seems somewhat strange to me, but positional arguments don't get the -
# in the name changed to _, whereas optional arguments do...
@@ -136,4 +136,4 @@ for key in args:
# and write the updated config file
with open('config', 'w') as conf:
- json.dump(config, conf) \ No newline at end of file
+ json.dump(config, conf)