There was an error while loading. Please reload this page.
1 parent 9018525 commit 628cd2dCopy full SHA for 628cd2d
pymongo/settings.py
@@ -42,8 +42,8 @@ def __init__(self,
42
"""
43
if heartbeat_frequency < common.MIN_HEARTBEAT_INTERVAL:
44
raise ConfigurationError(
45
- "heartbeatFrequencyMS cannot be less than %d" %
46
- common.MIN_HEARTBEAT_INTERVAL * 1000)
+ "heartbeatFrequencyMS cannot be less than %d" % (
+ common.MIN_HEARTBEAT_INTERVAL * 1000,))
47
48
self._seeds = seeds or [('localhost', 27017)]
49
self._replica_set_name = replica_set_name
0 commit comments