[Twisted-Python] /doc/howto/listings/application/app3.py
Lee Harr
missive at hotmail.com
Tue Dec 3 07:33:00 MST 2002
Hi;
This patch fixes a typo in one of the example apps.
9:09 >cvs diff -u
? app3.py.original
cvs server: Diffing .
Index: app3.py
===================================================================
RCS file: /cvs/Twisted/doc/howto/listings/application/app3.py,v
retrieving revision 1.1
diff -u -r1.1 app3.py
--- app3.py 8 Oct 2002 06:05:35 -0000 1.1
+++ app3.py 3 Dec 2002 14:21:39 -0000
@@ -12,10 +12,10 @@
def main():
# namespaces are weird. See the comment in doc/examples/echoserv.py
- import app1
+ import app3
from twisted.internet.app import Application
f = Factory()
- f.protocol = app1.OneTimeKey
+ f.protocol = app3.OneTimeKey
f.nextkey = 0
app = Application("otk")
app.listenTCP(8123, f)
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the Twisted-Python
mailing list