未验证 提交 a73c2138 编写于 作者: O openharmony_ci 提交者: Gitee

!77 modified xdevice

Merge pull request !77 from jiyong/local-0221
......@@ -84,7 +84,7 @@ class Console(object):
"""
Main xDevice console providing user with the interface to interact
"""
if sys.version_info.major < '3' or sys.version_info.minor < '7':
if sys.version_info.major < 3 or sys.version_info.minor < 7:
LOG.error("Please use python 3.7 or higher version to "
"start project")
sys.exit(0)
......
......@@ -29,7 +29,7 @@ LOG = platform_logger("ReportMain")
def main_report():
if sys.version_info.major < '3' or sys.version_info.minor < '7':
if sys.version_info.major < 3 or sys.version_info.minor < 7:
LOG.error("Please use python 3.7 or higher version to start "
"project")
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册