You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2014/10/01 03:02:15 UTC

git commit: THRIFT-2665 Debug statements are unnecessary and should be removed Client: Python Patch: Dustin Spicuzza

Repository: thrift
Updated Branches:
  refs/heads/master 5057b4cb5 -> b898eaa25


THRIFT-2665 Debug statements are unnecessary and should be removed
Client: Python
Patch: Dustin Spicuzza

This closes #189


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

Branch: refs/heads/master
Commit: b898eaa25cecace8a9edf65445ab1e576203d2e5
Parents: 5057b4c
Author: Jens Geyer <je...@apache.org>
Authored: Wed Oct 1 03:00:19 2014 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Wed Oct 1 03:00:19 2014 +0200

----------------------------------------------------------------------
 lib/py/src/TTornado.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/b898eaa2/lib/py/src/TTornado.py
----------------------------------------------------------------------
diff --git a/lib/py/src/TTornado.py b/lib/py/src/TTornado.py
index 7cd87ed..ef3e0f2 100644
--- a/lib/py/src/TTornado.py
+++ b/lib/py/src/TTornado.py
@@ -137,9 +137,7 @@ class TTornadoStreamTransport(TTransportBase):
                 if len(frame_header) == 0:
                     raise iostream.StreamClosedError('Read zero bytes from stream')
                 frame_length, = struct.unpack('!i', frame_header)
-                logger.debug('received frame header, frame length = %d', frame_length)
                 frame = yield self.stream.read_bytes(frame_length)
-                logger.debug('received frame payload: %r', frame)
                 raise gen.Return(frame)
 
     def write(self, buf):