Silence xmlrpclib about int exceeding XML-RPC limits.

This commit is contained in:
Andrew Resch 2008-01-20 02:00:42 +00:00
parent 23840ce390
commit 6485986294

View File

@ -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")