Skip to content

Commit

Permalink
Fix multiplex
Browse files Browse the repository at this point in the history
Moved service map from class variable to instance variable
  • Loading branch information
xvblack authored and lxyu committed Apr 15, 2015
1 parent ed66f77 commit 1e9f5e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions thriftpy/thrift.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,8 @@ def process(self, iprot, oprot):
class TMultiplexingProcessor(TProcessor):
SEPARATOR = ":"

processors = {}
service_map = {}

def __init__(self):
self.processors = {}
pass

def register_processor(self, service_name, processor):
Expand Down

0 comments on commit 1e9f5e0

Please sign in to comment.