You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jk...@apache.org on 2018/01/24 05:13:19 UTC

[6/7] thrift git commit: THRIFT-4464: Fix typo in TNonblockingServer.py Client: py

THRIFT-4464: Fix typo in TNonblockingServer.py
Client: py

This closes #1475


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/00646bbb
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/00646bbb
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/00646bbb

Branch: refs/heads/master
Commit: 00646bbba7a2101f0ad2938d2e37cb83abbfb3c7
Parents: e241265
Author: Yubing Dong (Tom) <to...@users.noreply.github.com>
Authored: Thu Jan 18 23:55:24 2018 -0800
Committer: James E. King III <jk...@apache.org>
Committed: Wed Jan 24 00:10:42 2018 -0500

----------------------------------------------------------------------
 lib/py/src/server/TNonblockingServer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/00646bbb/lib/py/src/server/TNonblockingServer.py
----------------------------------------------------------------------
diff --git a/lib/py/src/server/TNonblockingServer.py b/lib/py/src/server/TNonblockingServer.py
index 26c0f7e..f62d486 100644
--- a/lib/py/src/server/TNonblockingServer.py
+++ b/lib/py/src/server/TNonblockingServer.py
@@ -174,7 +174,7 @@ class Connection(object):
             self._wbuf = b''
             self.len = 0
         else:
-            self._wbuf = self.message[sent:]
+            self._wbuf = self._wbuf[sent:]
 
     @locked
     def ready(self, all_ok, message):