Skip to content

Commit ad8dfeb

Browse files
author
Tim Vaillancourt
committed
fixing spelling of properties and adding broadexception override because I want it to always fail to the old method
1 parent 59e4236 commit ad8dfeb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MongoBackup/Backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, options):
7676
self.secondaries = {}
7777
self.mongodumper_summary = {}
7878

79-
# Setup options are properies and connection to node
79+
# Setup options are properties and connection to node
8080
for option in vars(options):
8181
setattr(self, option, getattr(options, option))
8282

MongoBackup/Sharding.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def get_config_server(self, force=False):
130130

131131
self.config_db = DB(config_host, config_port, self.user, self.password, self.authdb)
132132
rs = Replset(self.config_db, self.user, self.password, self.authdb)
133+
# noinspection PyBroadException
133134
try:
134135
if rs.get_rs_status(False, True):
135136
self.config_server = rs

0 commit comments

Comments
 (0)