Lukas Durfina wrote:

Hi,

  I am trying run rhnreg_ks with python2.5.
I have this problem:

...
File "/var/lib/python-support/python2.5/rhn/transports.py", line 225, in parse
_response
    p, u = self.getparser()
  File "/usr/lib/python2.5/xmlrpclib.py", line 1210, in getparser
    return getparser(use_datetime=self._use_datetime)
<type 'exceptions.AttributeError'>: Transport instance has no attribute '_use_da
tetime'

Looking at transports.py I see that we use in class Transport:
def __init__(self, transfer=0, encoding=0, refreshCallback=None,
            progressCallback=None, use_datetime=None):

whereas original xmlrpclib.py use use_datetime=0
Can it be the difference/problem? Can you try it and test it and send patch if it will be the solution?

--
Miroslav Suchy
RHN Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to