Added debug printing

This commit is contained in:
slush0 2014-02-20 16:01:17 +01:00
parent b6a280c380
commit 6e90d5763e
1 changed files with 2 additions and 0 deletions

View File

@ -63,10 +63,12 @@ class BaseClient(object):
def call_raw(self, msg):
try:
print "SENDING", pprint(msg)
self.transport.session_begin()
self.transport.write(msg)
resp = self.transport.read_blocking()
print "RECEIVED", pprint(resp)
finally:
self.transport.session_end()