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

Cette révision appartient à :
Avinash Karhana 2020-07-11 02:15:29 +05:30
Parent 15b7afbcad
révision 135e9c1369
2 fichiers modifiés avec 1 ajouts et 2 suppressions

Voir le fichier

Voir le fichier

@ -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')