[et-mgmt-tools] cobbler broken with python < 2.4

Hennessey Daniel Daniel.Hennessey at aah.co.uk
Tue Jul 3 13:14:46 UTC 2007


Hey,
 
just upgraded cobbler to 0.5 and now it doesn't work. I get;
 
cobbler
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 719,
in main
    BootCLI(sys.argv).run()
  File "/usr/lib/python2.3/site-packages/cobbler/cobbler.py", line 42,
in __init__
    self.api = api.BootAPI()
  File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 40, in
__init__
    self.deserialize()
  File "/usr/lib/python2.3/site-packages/cobbler/api.py", line 170, in
deserialize
    return self._config.deserialize()
  File "/usr/lib/python2.3/site-packages/cobbler/config.py", line 169,
in deserialize
    if not serializer.deserialize(x,topological=True):
  File "/usr/lib/python2.3/site-packages/cobbler/serializer.py", line
79, in deserialize
    datastruct.sort(cmp=__depth_cmp)
TypeError: sort() takes no keyword arguments

I assume that this is because the sort() function in older versions of
python does not expect parameters.
 
Cheers

Dan

************************************************************************
DISCLAIMER
The information contained in this e-mail is confidential and is intended
for the recipient only.
If you have received it in error, please notify us immediately by reply 
e-mail and then delete it from your system. Please do not copy it or
use it for any other purposes, or disclose the content of the e-mail
to any other person or store or copy the information in any medium. 
The views contained in this e-mail are those of the author and not 
necessarily those of Admenta UK Group.

Admenta UK plc is a company incorporated in England and Wales
under company number 3011757 and whose registered office 
is at Sapphire Court, Walsgrave Triangle, Coventry CV2 2TX
************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070703/cc2cc3ea/attachment.htm>


More information about the et-mgmt-tools mailing list