Skip to content

Commit

Permalink
make repl_string work on any dict like object.
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Aug 29, 2024
1 parent 02616bc commit 5cbdc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/parsec/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def jdump(
keys = []
cfg = self.get(keys, sparse)
if none_str:
cfg.repl_val(cfg, None, none_str)
OrderedDictWithDefaults.repl_val(cfg, None, none_str)
data = json.dumps(cfg, indent=indent)

print(data, file=handle or sys.stdout)
Expand Down

0 comments on commit 5cbdc93

Please sign in to comment.