twistd script show unwanted messagge
[email protected] Wed, 16 Sep 2009 19:36:50 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from [email protected] <None>: here the output: {{{ $ twistd --help ... -b, --debug run the application in the Python Debugger (implies nodaemon), sending SIGUSR2 will drop into debugger -r, --reactor= Which reactor to use (see --help-reactors for a list of possibilities) --help Display this help and exit. module(name[, doc]) Create a module object. The name must be a string; the optional doc argument can have any type. Commands: ftp An FTP server. telnet A simple, telnet-based remote debugging service. socks A SOCKSv4 proxy service. manhole-old An interactive remote debugger service. ... }}} this happens just if twisted is installed using setuptools: in this case ''twistd'' script is just a wrapper to the real script (''Twisted-.....egg/EGG-INFO/scripts/twistd'') and the global namespace is replaced (!__main!__ and !__main!__.!__doc!__ too). adding a docstring to twisted/scripts/twistd.py is enough. ---------- Type : defect Component: core Keywords : Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4030