mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-10 02:25:53 +00:00
Silence xmlrpclib about int exceeding XML-RPC limits.
This commit is contained in:
parent
23840ce390
commit
6485986294
@ -642,8 +642,8 @@ class Marshaller:
|
|||||||
|
|
||||||
def dump_int(self, value, write):
|
def dump_int(self, value, write):
|
||||||
# in case ints are > 32 bits
|
# in case ints are > 32 bits
|
||||||
if value > MAXINT or value < MININT:
|
#if value > MAXINT or value < MININT:
|
||||||
raise OverflowError, "int exceeds XML-RPC limits"
|
# raise OverflowError, "int exceeds XML-RPC limits"
|
||||||
write("<value><int>")
|
write("<value><int>")
|
||||||
write(str(value))
|
write(str(value))
|
||||||
write("</int></value>\n")
|
write("</int></value>\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user