Permalink
Browse files

Bug 656704 - read_callback is defined but never used. r=hskupin

  • Loading branch information...
piotrrepetowski authored and whimboo committed Nov 22, 2012
1 parent aadced7 commit 4a0f4e961895401a3ee2849cdbb8d369727e9d3b
Showing with 2 additions and 4 deletions.
  1. +2 −4 jsbridge/jsbridge/network.py
@@ -59,10 +59,8 @@ def read_all(self):
return data
def handle_read(self):
- self.data = self.read_all()
- self.process_read(self.data)
-
- read_callback = lambda self, data: None
+ data = self.read_all()
+ self.process_read(data)
decoder = simplejson.JSONDecoder()

0 comments on commit 4a0f4e9

Please sign in to comment.