未验证 提交 bfbffe69 编写于 作者: W wangguanzhong 提交者: GitHub

update check_version (#2157)

上级 524f56f9
......@@ -94,6 +94,8 @@ def check_version(version='1.7.0'):
for i in six.moves.range(length):
if version_installed[i] > version_split[i]:
return
if len(version_installed[i]) == 1 and len(version_split[i]) > 1:
return
if version_installed[i] < version_split[i]:
raise Exception(err)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册