mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Silence xmlrpclib about int exceeding XML-RPC limits.
This commit is contained in:
parent
23840ce390
commit
6485986294
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue