Skip to content

Commit 915a6fd

Browse files
authored
Merge pull request #44 from timvaillancourt/pep8_spelling_and_surpress
Fixing spelling of "properties" and adding PEP8 broadexception override beca…
2 parents 59e4236 + ad8dfeb commit 915a6fd

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)