On Thu, 24 Feb 2011 14:32:25 -0500, Andrew Rankin <and...@eiknet.com> wrote: > My workaround was just to not define a dummy or call on_done in > CobblerThread unless one is passed to it when object instance is > created in __start_task (see diff). But this really is only a > workaround to deal with the functions expecting a different number > arguments. You still have to pass self to on_done when you call it, > which confuses me - you're calling it as self.on_done(self) so > shouldn't it end up with two arguments?
I think this is a class inheritance problem. I ran into something similar when I was working on some cheetah stuff. It had something to do with using super. Unfortunately I can't remember the specifics right now. I'll try to fire up a test instance and debug it if someone doesn't beat me to it first. -- Scott Henson Red Hat CIS Operator WVU Alum BSAE/BSME
pgpqePZycQ2nS.pgp
Description: PGP signature
_______________________________________________ cobbler-devel mailing list cobbler-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler-devel