File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,6 @@ def _sanitize_settings(settings):
4141 # Default to ReadPreference.PRIMARY if no read_preference is supplied
4242 resolved_settings ['read_preference' ] = resolved_settings .get ('read_preference' , ReadPreference .PRIMARY )
4343
44- # Rename "replicaset" to "replicaSet" if it exists in the dict
45- # TODO is this necessary? PyMongo normalizes the options and makes them
46- # all lowercase via pymongo.common.validate (which is called in
47- # MongoClient.__init__), so both "replicaset and "replicaSet" should be
48- # valid
49- # if 'replicaset' in resolved_settings:
50- # resolved_settings['replicaSet'] = resolved_settings.pop('replicaset')
51-
5244 # Clean up empty values
5345 for k , v in list (resolved_settings .items ()):
5446 if v is None :
You can’t perform that action at this time.
0 commit comments