change to python3 explicitly.
This commit is contained in:
parent
2558e74bc6
commit
773101a247
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
###################################################################
|
###################################################################
|
||||||
# Copyright (c) 2016 by TAOS Technologies, Inc.
|
# Copyright (c) 2016 by TAOS Technologies, Inc.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -55,6 +55,7 @@ def isHiveMQInstalled():
|
||||||
defaultHiveMQPath = "/opt/hivemq*"
|
defaultHiveMQPath = "/opt/hivemq*"
|
||||||
hiveMQDir = glob.glob(defaultHiveMQPath)
|
hiveMQDir = glob.glob(defaultHiveMQPath)
|
||||||
if (len(hiveMQDir) == 0):
|
if (len(hiveMQDir) == 0):
|
||||||
|
v_print("%s", "ERROR: hivemq not found!")
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
v_print("HiveMQ installed at %s", hiveMQDir[0])
|
v_print("HiveMQ installed at %s", hiveMQDir[0])
|
||||||
|
|
Loading…
Reference in New Issue