Skip to content

Commit a98dfad

Browse files
committed
clean up logs
1 parent ff06982 commit a98dfad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_releaser/lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def check_links(ignore_glob, ignore_links, cache_file, links_expire):
8888
util.log(cmd)
8989

9090
fails = 0
91-
separator = "\n\n" + "-" * 80
91+
separator = f"\n\n{'-' * 80}\n"
9292
for f in files:
9393
file_cmd = cmd + f' "{f}"'
9494
try:
@@ -98,7 +98,7 @@ def check_links(ignore_glob, ignore_links, cache_file, links_expire):
9898
# Return code 5 means no tests were run (no links found)
9999
if e.returncode != 5:
100100
try:
101-
util.log(f"\n{f} (second attempt)...")
101+
util.log(f"\n{f} (second attempt)...\n")
102102
util.run(file_cmd + " --lf", shell=False, echo=False)
103103
except Exception:
104104
fails += 1

0 commit comments

Comments
 (0)