On Sunday 26 February 2006 13:49, Felix Schwarz wrote:
> 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#SECTION00031000
>0000000000000 http://www.python.org/peps/pep-0253.html

Thanks.  I've applied your patch.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to