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

fix check.py (#865)

上级 db29b442
......@@ -66,6 +66,8 @@ def check_version(version='1.7.0'):
length = min(len(version_installed), len(version_split))
for i in six.moves.range(length):
if version_installed[i] > version_split[i]:
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.
先完成此消息的编辑!
想要评论请 注册