git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a993377
)
Revert "Force JSONRPC error message to Unicode to deal with faulty JSON parser in...
author
Forrest Voight
<forrest.voight@gmail.com>
Sun, 11 Mar 2012 17:21:01 +0000 (13:21 -0400)
committer
Forrest Voight
<forrest.voight@gmail.com>
Sun, 11 Mar 2012 17:21:01 +0000 (13:21 -0400)
This reverts commit
a993377823160571dc35b702d6a6e7a6d0c63c39
.
p2pool/util/jsonrpc.py
patch
|
blob
|
history
diff --git
a/p2pool/util/jsonrpc.py
b/p2pool/util/jsonrpc.py
index
f223f37
..
6cbd2c8
100644
(file)
--- a/
p2pool/util/jsonrpc.py
+++ b/
p2pool/util/jsonrpc.py
@@
-64,7
+64,7
@@
class Proxy(object):
if resp['id'] != id_:
raise ValueError('invalid id')
if 'error' in resp and resp['error'] is not None:
- raise Error(**unicode(resp['error']))
+ raise Error(**resp['error'])
defer.returnValue(resp['result'])
def __getattr__(self, attr):