Skip to content

Commit

Permalink
Fix missing newlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
lauris authored Sep 19, 2024
1 parent 6d29cb5 commit 9e53be2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions add-metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def retrieve_repo(name):
warn(f"Error occured while getting {name} repo")
raise

# print('.', file=sys.stderr, end='', flush=True)
print('.', file=sys.stderr, end='', flush=True)

if is_stale(repo):
raise Exception("Repo is too old or inactive")
Expand All @@ -70,7 +70,7 @@ def parse(line):
try:
row = github_table_row(retrieve_repo(repo_name))
except Exception:
row = False
row = "skip"
return row
else:
return line.rstrip()
Expand All @@ -80,7 +80,7 @@ def run():
print('<!--- This file is automatically generated. Do not edit directly. -->')
for line in fileinput.input():
parsed = parse(line)
if parsed:
if parsed != "skip":
print(parsed)


Expand Down

0 comments on commit 9e53be2

Please sign in to comment.