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.
1 parent a9a067e commit ec0b476Copy full SHA for ec0b476
MongoBackup/ReplsetHandler.py
@@ -36,7 +36,7 @@ def get_rs_status(self):
36
raise e
37
except Exception, e:
38
logging.error("Error running command 'replSetGetStatus': %s" % e)
39
- tries = tries + 1
+ tries += 1
40
sleep(1)
41
if not status:
42
raise Exception, "Could not get output from command: 'replSetGetStatus' after %i retries!" % self.retries, None
0 commit comments