Skip to content

Commit c70efd2

Browse files
committed
make repl_string work on any dict like object.
1 parent 6795cbd commit c70efd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cylc/flow/parsec/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def jdump(
216216
keys = []
217217
cfg = self.get(keys, sparse)
218218
if none_str:
219-
cfg.repl_val(cfg, None, none_str)
219+
OrderedDictWithDefaults.repl_val(cfg, None, none_str)
220220
data = json.dumps(cfg, indent=indent)
221221

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

0 commit comments

Comments
 (0)