mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +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):
|
||||
# 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…
Add table
Reference in a new issue