Hi all,

the Bacula releases include some Python example files (DirStartUp.py,
FDStartUp.py, SDStartUp.py). These examples use Python "old-style"
classes which do not inherit from object. This has some consequeneces
when using inheritance and you may get into trouble when the old-style
classes are removed finally.

Therefore I think you should use new-style classes (which is quite
easy). See the attached patch for "details".

Some information regarding new-style classes:
http://www.python.org/2.2.3/descrintro.html
http://www.python.org/doc/2.2.3/whatsnew/sect-rellinks.html
http://www.amk.ca/python/writing/warts.html
http://www.python.org/doc/2.2.1/whatsnew/sect-rellinks.html#SECTION000310000000000000000
http://www.python.org/peps/pep-0253.html

-- 
Felix

Attachment: python_new_style_classes.patch
Description: Binary data

Reply via email to