Skip to content
Snippets Groups Projects
Commit 80fa7b2b authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

mkexp: changed merge of process environment ('DEFAULT' section) to be sorted

parent 38f33efc
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ Global
* Added creation of config dump to mkexp (including backup)
* Changed mkexp namelist formatting to add multi-group identifiers as comment
* Changed merge of process environment ('DEFAULT' section) to be sorted
Release 1.0.0
=============
......
......@@ -341,7 +341,9 @@ class ExpConfig(ConfigObj):
# Mask literal dollar characters
for key, value in env_dict.iteritems():
env_dict[key] = value.replace('$', '$$')
pre_config.merge({'DEFAULT': env_dict})
pre_config.merge({'DEFAULT': {}})
for key, value in sorted(env_dict.iteritems()):
pre_config['DEFAULT'][key] = value
# Read experiment settings from library (default and type specific)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment