Skip to content

Commit c9b99fd

Browse files
author
Tim Vaillancourt
committed
fixing a mistake
1 parent b6d5a0a commit c9b99fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MongoBackup/Common/DB.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def admin_command(self, admin_command, quiet=False):
5858
tries += 1
5959
sleep(1)
6060
if not status:
61-
raise Exception, "Could not get output from command: '%s' after %i retries!" % (admin_command, retries), None
61+
raise Exception, "Could not get output from command: '%s' after %i retries!" % (admin_command, self.retries), None
6262
return status
6363

6464
def server_version(self):

0 commit comments

Comments
 (0)