Skip to content

Commit 099759c

Browse files
remove spaces in json
1 parent 59d7792 commit 099759c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodb_consistent_backup/Backup/Mongodump/MongodumpThread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def parse_read_pref(self, mode="secondary"):
7373
rp = {"mode": mode}
7474
if self.read_pref_tags:
7575
rp["tags"] = parse_read_pref_tags(self.read_pref_tags)
76-
return json.dumps(rp)
76+
return json.dumps(rp, separators=(',', ':'))
7777

7878
def parse_mongodump_line(self, line):
7979
try:

0 commit comments

Comments
 (0)