Sort keys in config
This commit is contained in:
parent
c1055ecb8c
commit
2e6d9c0f79
@ -88,6 +88,7 @@ class Config():
|
|||||||
try:
|
try:
|
||||||
with open(self.config_path + "bmc.json", 'w') as fh:
|
with open(self.config_path + "bmc.json", 'w') as fh:
|
||||||
fh.write(json.dumps(self.config,
|
fh.write(json.dumps(self.config,
|
||||||
|
sort_keys=True
|
||||||
indent=4,
|
indent=4,
|
||||||
separators=(',', ': ')))
|
separators=(',', ': ')))
|
||||||
except IOError:
|
except IOError:
|
||||||
|
Loading…
Reference in New Issue
Block a user