Skip to content

Commit f88e82c

Browse files
Indenting if cond, not always needed
1 parent 8d1baf5 commit f88e82c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MongoBackup/Methods/Dumper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def run(self):
7474
self.threads_per_dump = 1
7575
if self.cpu_count > len(self.secondaries):
7676
self.threads_per_dump = int(floor(self.cpu_count / len(self.secondaries)))
77-
if self.threads_per_dump > self.threads_per_dump_max:
78-
self.threads_per_dump = self.threads_per_dump_max
77+
if self.threads_per_dump > self.threads_per_dump_max:
78+
self.threads_per_dump = self.threads_per_dump_max
7979
else:
8080
logging.warn("Threading unsupported by mongodump version %s. Use mongodump 3.2.0 or greater to enable per-dump threading." % self.version)
8181

0 commit comments

Comments
 (0)