We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
couchdb-replicate
1 parent 561d612 commit cf38c9bCopy full SHA for cf38c9b
couchdb/tools/replication_helper.py
@@ -170,6 +170,13 @@ def main():
170
dest='ignore_deletes',
171
help='whether to ignore "delete" notifications',
172
default=True)
173
+ parser.add_option('--json-module',
174
+ action='store',
175
+ dest='json_module',
176
+ metavar='NAME',
177
+ help='the JSON module to use ("simplejson", "cjson", or "json" are '
178
+ 'supported)',
179
+ default=True)
180
181
options, arg = parser.parse_args()
182
@@ -178,7 +185,10 @@ def main():
185
sys.exit(1)
186
187
options.target_servers = options.target_servers.split(',')
-
188
+
189
+ if options.json_module:
190
+ json.use(options.json_module)
191
192
ReplicationHelper(options)()
183
193
184
194
if __name__ == '__main__':
0 commit comments