Comment 0 for bug 254999

Revision history for this message
Graham Binns (gmb) wrote : Remove XML-RPC DateTime marshalling code when Launchpad is upgraded to run on Python2.5

At the moment there are a couple of places where we marshal datetime.datetime objects manually into xmlrpclib.DateTime objects because, if we don't, xmlrpclib will explode with the error:

  TypeError: cannot marshal <type 'datetime.datetime'> objects

These manual marshallings occur at:

 l/c/l/components/externalbugtracker/bugzilla.py:430
 l/c/l/ftests/bugzilla-xmlrpc-transport.txt:231