commit | e2bc9727500584e055ce603bf95f00165c657ec2 | [log] [tgz] |
---|---|---|
author | Yao Jin <yjin@xiaohongshu.com> | Thu Feb 23 13:49:45 2017 +0800 |
committer | James E. King, III <jking@apache.org> | Fri Feb 24 10:28:27 2017 -0500 |
tree | 3dc8b0c2d7d65be81e0edad6f8735275212b517e | |
parent | e66b8fcde3922ab9244908d9ca27d5084536e168 [diff] |
THRIFT-4102 remove useless code cause performance problem Client: python This closes #1203
diff --git a/lib/py/src/transport/TTransport.py b/lib/py/src/transport/TTransport.py index ae01ac6..c8855ca 100644 --- a/lib/py/src/transport/TTransport.py +++ b/lib/py/src/transport/TTransport.py
@@ -169,7 +169,6 @@ # on exception reset wbuf so it doesn't contain a partial function call self.__wbuf = BufferIO() raise e - self.__wbuf.getvalue() def flush(self): out = self.__wbuf.getvalue()