On Thu, 06 Sep 2007 15:44:57 +1000, bambam wrote:

> def script(self)
>     def a0010(): global self; self.power_on([self.dev]);
>     def a0020(): global self; self.dev.addLog([self.name, ' started']);
>     def a0030(): global self; self.resetMinuteReg([self.dev]);
>     def a0040(): global self; self.disablePLmessages([self.dev]);
>     def a0050(): global self; self.dev.testH.writePLram((PL.BCAL12<<8));

What is this ``global self`` meant to do?  And the first line is missing a
colon at the end.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to