Skip to content

Commit

Permalink
Resolve LGTM alert
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Nov 16, 2020
1 parent 40b3b80 commit 57fc8a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ def get_version(version_file):
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
else:
raise RuntimeError("Unable to find version string.")
raise RuntimeError("Unable to find version string.")


setup(
Expand Down

0 comments on commit 57fc8a4

Please sign in to comment.