Browse Source

Fixed useless `else` cluase after loop inside `get_version` function in setup.py

tags/20.2
Avinash Karhana 3 months ago
parent
commit
135e9c1369
2 changed files with 1 additions and 2 deletions
  1. +0
    -0
      news/440785C8-AC99-4ED9-8ECE-7C92B4358026.trivial
  2. +1
    -2
      setup.py

+ 0
- 0
news/440785C8-AC99-4ED9-8ECE-7C92B4358026.trivial View File


+ 1
- 2
setup.py View File

@@ -22,8 +22,7 @@ def get_version(rel_path):
# __version__ = "0.9"
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.")


long_description = read('README.rst')


Loading…
Cancel
Save