Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
blampe committed Oct 6, 2015
1 parent e557065 commit 2023666
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'crcmod',
'tornado>=4.0,<5.0',
'toro>=0.8,<0.9',
'thriftrw>=0.3.3,<0.4.0',
'thriftrw>=0.3.3,<0.4',
'threadloop>=0.5,<0.6',
'futures',
],
Expand Down
10 changes: 0 additions & 10 deletions tchannel/testing/vcr/cassette.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ class Interaction(namedtuple('Interaction', 'request response')):
"""An interaction is a request-response pair."""

def to_primitive(self):
# import ipdb; ipdb.set_trace()
# from thriftrw.protocol import BinaryProtocol
# p = BinaryProtocol()

if hasattr(self.request, 'to_primitive'):
return {
'request': self.request.to_primitive(),
'response': self.response.to_primitive(),
}

return {
'request': primitive(self.request, TType.STRUCT),
'response': primitive(self.response, TType.STRUCT),
Expand Down

0 comments on commit 2023666

Please sign in to comment.