提交 773101a2 编写于 作者: sangshuduo's avatar sangshuduo

change to python3 explicitly.

上级 2558e74b
#!/usr/bin/python
#!/usr/bin/python3
###################################################################
# Copyright (c) 2016 by TAOS Technologies, Inc.
# All rights reserved.
......@@ -55,6 +55,7 @@ def isHiveMQInstalled():
defaultHiveMQPath = "/opt/hivemq*"
hiveMQDir = glob.glob(defaultHiveMQPath)
if (len(hiveMQDir) == 0):
v_print("%s", "ERROR: hivemq not found!")
return False
else:
v_print("HiveMQ installed at %s", hiveMQDir[0])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册