[SCons] Fix Python 3.6 compatibility
The build was failing with: TypeError: 'mappingproxy' object does not support item assignment
This commit is contained in:
parent
60d2075492
commit
684262e945
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ***
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue