Commit aace689f authored by Jerome Kieffer's avatar Jerome Kieffer

clean up

parent 98672e08
...@@ -509,6 +509,6 @@ def parse_compile_time_env(s, current_settings=None): ...@@ -509,6 +509,6 @@ def parse_compile_time_env(s, current_settings=None):
continue continue
if '=' not in item: if '=' not in item:
raise ValueError('Expected "=" in option "%s"' % item) raise ValueError('Expected "=" in option "%s"' % item)
name, value = [s.strip() for s in item.strip().split('=', 1)] name, value = [s.strip() for s in item.split('=', 1)]
result[name] = parse_variable_value(value) result[name] = parse_variable_value(value)
return result return result
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment