Skip to content

Commit ff06982

Browse files
committed
clean up logs
1 parent 4ffb67f commit ff06982

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jupyter_releaser/lib.py

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

9090
fails = 0
91+
separator = "\n\n" + "-" * 80
9192
for f in files:
9293
file_cmd = cmd + f' "{f}"'
9394
try:
94-
util.log(f"\nC{f}...")
95+
util.log(f"{separator}{f}...")
9596
util.run(file_cmd, shell=False, echo=False)
9697
except Exception as e:
9798
# Return code 5 means no tests were run (no links found)
9899
if e.returncode != 5:
99100
try:
100-
util.log(f"{f} (second attempt)...")
101+
util.log(f"\n{f} (second attempt)...")
101102
util.run(file_cmd + " --lf", shell=False, echo=False)
102103
except Exception:
103104
fails += 1

0 commit comments

Comments
 (0)