Skip to content

Commit 2f47ad5

Browse files
authored
Fix print statement formatting in __main__.py (#202)
* Fix print statement formatting in __main__.py * Add newline to migration duration print statement
1 parent 0e771f0 commit 2f47ad5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

admin_migrations/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def run_migrators(feedstock, migrators) -> tuple[bool, list[tuple[Migrator, str]
352352
print_buff = True
353353
exit_code = 1
354354

355-
print("migration took %s seconds\n" % (time.time() - _start), flush=True)
355+
print("migration took %s seconds\n\n" % (time.time() - _start), flush=True)
356356

357357
if print_buff:
358358
print(buff.getvalue(), flush=True)
@@ -517,7 +517,7 @@ def main() -> int:
517517
start_time,
518518
)
519519
print(
520-
"# of feedstocks running|n_workers: %s|%s\n"
520+
"# of feedstocks running|n_workers: %s|%s\n\n"
521521
% (len(futs), n_workers),
522522
flush=True,
523523
)

0 commit comments

Comments
 (0)