Repository: thrift Updated Branches: refs/heads/master e66b8fcde -> e2bc97275
THRIFT-4102 remove useless code cause performance problem Client: python This closes #1203 Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/e2bc9727 Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/e2bc9727 Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/e2bc9727 Branch: refs/heads/master Commit: e2bc9727500584e055ce603bf95f00165c657ec2 Parents: e66b8fc Author: Yao Jin <y...@xiaohongshu.com> Authored: Thu Feb 23 13:49:45 2017 +0800 Committer: James E. King, III <jk...@apache.org> Committed: Fri Feb 24 10:28:27 2017 -0500 ---------------------------------------------------------------------- lib/py/src/transport/TTransport.py | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/e2bc9727/lib/py/src/transport/TTransport.py ---------------------------------------------------------------------- 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 @@ class TBufferedTransport(TTransportBase, CReadableTransport): # 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()