[Twisted-Python] How can LoopCall not be defined?

Stephan schenette at gmail.com
Thu Sep 8 02:58:27 EDT 2011


sorry for wasting everyone's time.
script worked, made a change and somehow changed the one line from
LoopingCall to LoopCall, I should have noticed that, but I've been
coding for a while and just missed. Thanks.

changed now and works

                        if self.checkIfFirefoxWasKilledLoop.running:

logging.debug("FiresharkProtocol.checkIfFirefoxWasKilled is running.")
                        else:

logging.debug("FiresharkProtocol.checkIfFirefoxWasKilled is NOT
running. starting..\
.")
                                self.checkIfFirefoxWasKilledLoop =
LoopingCall(self.checkIfFirefoxWasKilled)

self.checkIfFirefoxWasKilledLoop.start(0.5, now=True)
                except AttributeError:

logging.debug("FiresharkProtocol.checkIfFirefoxWasKilled exist but is
NOT running. starting\
...")
                        self.checkIfFirefoxWasKilledLoop =
LoopingCall(self.checkIfFirefoxWasKilled)
                        self.checkIfFirefoxWasKilledLoop.start(0.5, now=True)

                try:


On Wed, Sep 7, 2011 at 11:34 PM, Laurens Van Houtven <_ at lvh.cc> wrote:
> I've never heard of LoopCall. Maybe you meant LoopingCall?
>
> cheers
> lvh
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>



More information about the Twisted-Python mailing list