[TD-581] remove unneccesary print, only keep error print
This commit is contained in:
parent
15d6f34de7
commit
79ae6f6143
|
@ -223,8 +223,8 @@ class CTaosInterface(object):
|
||||||
if connection.value == None:
|
if connection.value == None:
|
||||||
print('connect to TDengine failed')
|
print('connect to TDengine failed')
|
||||||
# sys.exit(1)
|
# sys.exit(1)
|
||||||
else:
|
#else:
|
||||||
print('connect to TDengine success')
|
# print('connect to TDengine success')
|
||||||
|
|
||||||
return connection
|
return connection
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ class CTaosInterface(object):
|
||||||
'''Close the TDengine handle
|
'''Close the TDengine handle
|
||||||
'''
|
'''
|
||||||
CTaosInterface.libtaos.taos_close(connection)
|
CTaosInterface.libtaos.taos_close(connection)
|
||||||
print('connection is closed')
|
#print('connection is closed')
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def query(connection, sql):
|
def query(connection, sql):
|
||||||
|
|
Loading…
Reference in New Issue