提交 f37f21d6 编写于 作者: C Cleber Rosa

setup.py: rename misleading (leftover?) variable name

It looks like the same block of code was used to read the requirements
file.  Let's rename it and avoid confusion.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 4ecf0b3c
......@@ -25,9 +25,9 @@ with open(os.path.join(BASE_PATH, 'VERSION'), 'r') as version_file:
def get_long_description():
with open(os.path.join(BASE_PATH, 'README.rst'), 'r') as req:
req_contents = req.read()
return req_contents
with open(os.path.join(BASE_PATH, 'README.rst'), 'r') as readme:
readme_contents = readme.read()
return readme_contents
INSTALL_REQUIREMENTS = ['stevedore>=0.14', 'setuptools']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册