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