mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 15:43:28 +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):
|
||||
# in case ints are > 32 bits
|
||||
if value > MAXINT or value < MININT:
|
||||
raise OverflowError, "int exceeds XML-RPC limits"
|
||||
#if value > MAXINT or value < MININT:
|
||||
# raise OverflowError, "int exceeds XML-RPC limits"
|
||||
write("<value><int>")
|
||||
write(str(value))
|
||||
write("</int></value>\n")
|
||||
|
Loading…
x
Reference in New Issue
Block a user