Skip to content

Commit

Permalink
[SCons] Fix Python 3.6 compatibility
Browse files Browse the repository at this point in the history
The build was failing with:
  TypeError: 'mappingproxy' object does not support item assignment
  • Loading branch information
emccorkle authored and speth committed Oct 29, 2017
1 parent 60d2075 commit 684262e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ defaults.python_prefix = '$prefix' if env['OS'] != 'Windows' else ''
# Transform lists into strings to keep cantera.conf clean
for key,value in defaults.__dict__.items():
if isinstance(value, (list, tuple)):
defaults.__dict__[key] = ' '.join(value)
setattr(defaults, key, ' '.join(value))

# **************************************
# *** Read user-configurable options ***
Expand Down

0 comments on commit 684262e

Please sign in to comment.