git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f6a717c
)
Fix accidental change
author
Bryan Stitt
<bryan@stitthappens.com>
Mon, 14 Jan 2013 04:48:16 +0000 (20:48 -0800)
committer
Bryan Stitt
<bryan@stitthappens.com>
Mon, 14 Jan 2013 04:48:16 +0000 (20:48 -0800)
When I was moving things around with pep8, I moved this push_response out of the if/elif, but it shouldn't have been moved.
backends/bitcoind/blockchain_processor.py
patch
|
blob
|
history
diff --git
a/backends/bitcoind/blockchain_processor.py
b/backends/bitcoind/blockchain_processor.py
index
cb64178
..
865d72a
100644
(file)
--- a/
backends/bitcoind/blockchain_processor.py
+++ b/
backends/bitcoind/blockchain_processor.py
@@
-627,10
+627,9
@@
class BlockchainProcessor(Processor):
return -1
if error:
- response = {'id': message_id, 'error': error}
+ self.push_response({'id': message_id, 'error': error})
elif result != '':
- response = {'id': message_id, 'result': result}
- self.push_response(response)
+ self.push_response({'id': message_id, 'result': result})
def watch_address(self, addr):
if addr not in self.watched_addresses: