On Jul 24, 2007, at 1:08 PM, Phil Christensen wrote:
On Jul 24, 2007, at 12:18 PM, L. Daniel Burr wrote:
Bzzzt! Owie! Don't do that. The topmost package in the twisted
codebase is named "twisted". You've shadowed that package with a
module of your own.
Try renaming your file to something else, and I'll bet things
start working for you.
Thanks for the fast reply, but unfortunately that's not the
problem. 'twisted.py' was just the example minimum file i was using
to describe the problem, although I clearly should have used
something else.
Also, I'm pretty sure twistd's -y param simply loads this as a file
(hence the ability to name it with a .tac file).
Ah, but you meant that if the current directory is in my path, this
would clobber the twisted package. Sorry about that. Fortunately,
it's neither named 'twisted' or in my path ;-).
-phil
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web