Skip to content

Commit abc8edc

Browse files
author
Tim Vaillancourt
committed
no need to check array len when it is 1
1 parent 1e1e9a9 commit abc8edc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

MongoBackup/Methods/Dumper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ def run(self):
107107
self.verbose
108108
)]
109109
self.threads[0].start()
110-
if not len(self.threads) == 1:
111-
raise Exception, 'No backup threads started!', None
112110
self.wait()
113111

114112
return self._summary

0 commit comments

Comments
 (0)