[Twisted-Python] Bug in twistw.py

Christopher Armstrong radix at twistedmatrix.com
Thu Mar 4 17:05:27 MST 2004


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: </pipermail/twisted-python/attachments/20040304/1f1a1ca5/attachment.sig>


More information about the Twisted-Python mailing list