[TD-581] remove unneccesary print, only keep error print

This commit is contained in:
liu0x54 2020-06-10 11:14:09 +00:00
parent 15d6f34de7
commit 79ae6f6143
1 changed files with 3 additions and 3 deletions

View File

@ -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):