Skip to content

Commit ec0b476

Browse files
author
Tim Vaillancourt
committed
shortening increment
1 parent a9a067e commit ec0b476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MongoBackup/ReplsetHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_rs_status(self):
3636
raise e
3737
except Exception, e:
3838
logging.error("Error running command 'replSetGetStatus': %s" % e)
39-
tries = tries + 1
39+
tries += 1
4040
sleep(1)
4141
if not status:
4242
raise Exception, "Could not get output from command: 'replSetGetStatus' after %i retries!" % self.retries, None

0 commit comments

Comments
 (0)