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

This commit is contained in:
Avinash Karhana 2020-07-11 02:15:29 +05:30
부모 15b7afbcad
커밋 135e9c1369
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

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