[Twisted-Python] Bug in twistw.py

Sorry for posting here, but I couldn't get the bug tracker to register me. The twistw.py file provided by the windows installers for python 2.2 and python 2.3 doesn't have any main function. It needs the following lines added to the end of the script: if __name__ == "__main__": run() Thanks.

Steve Goldman wrote:
Sorry for posting here, but I couldn't get the bug tracker to register me.
The twistw.py file provided by the windows installers for python 2.2 and python 2.3 doesn't have any main function. It needs the following lines added to the end of the script:
if __name__ == "__main__": run()
Thanks.
No, I don't think so... 'twistd' uses the twistw module when it's run on windows. You're not supposed to run twistw.py directly. -- Twisted | Christopher Armstrong: International Man of Twistery Radix | Release Manager, Twisted Project ---------+ http://radix.twistedmatrix.com/
participants (2)
-
Christopher Armstrong
-
Steve Goldman