Skip to content

Commit

Permalink
No need to catch real errors. [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Hill <zed.three@gmail.com>
  • Loading branch information
tomc271 and ZedThree committed Aug 21, 2023
1 parent db5d413 commit 47342bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/update_citations.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ def get_authors_from_git():

def parse_cff_file(filename):
with open(filename, "r", encoding='UTF-8') as stream:
try:
return yaml.safe_load(stream)
except yaml.YAMLError as exc:
print(exc)
return yaml.safe_load(stream)


def get_authors_from_cff_file():
Expand Down

0 comments on commit 47342bf

Please sign in to comment.