Skip to content

Commit 37801d6

Browse files
author
Thinh Nguyen
committed
formatting
1 parent 6bf2afc commit 37801d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

datajoint/autopopulate.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def handler(signum, frame):
214214

215215
keys = keys[:max_calls]
216216
nkeys = len(keys)
217-
217+
218218
error_list = []
219219
success_list = []
220220

@@ -229,7 +229,9 @@ def handler(signum, frame):
229229

230230
if processes == 1:
231231
for key in (
232-
tqdm(keys, desc=self.__class__.__name__) if display_progress else keys
232+
tqdm(keys, desc=self.__class__.__name__)
233+
if display_progress
234+
else keys
233235
):
234236
status = self._populate1(key, jobs, **populate_kwargs)
235237
if status is not None:

0 commit comments

Comments
 (0)