提交 79ae6f61 编写于 作者: L liu0x54

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

上级 15d6f34d
...@@ -223,8 +223,8 @@ class CTaosInterface(object): ...@@ -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): ...@@ -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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册