[Zope3-checkins] CVS: Zope3/src/zope/server/linereceiver - linecommandparser.py:1.1.2.3 linetask.py:1.1.2.3
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:52:03 -0500
Update of /cvs-repository/Zope3/src/zope/server/linereceiver
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/server/linereceiver
Modified Files:
Tag: NameGeddon-branch
linecommandparser.py linetask.py
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/server/linereceiver/linecommandparser.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/server/linereceiver/linecommandparser.py:1.1.2.2 Mon Dec 23 16:45:30 2002
+++ Zope3/src/zope/server/linereceiver/linecommandparser.py Tue Dec 24 07:51:33 2002
@@ -24,7 +24,7 @@
__implements__ = IStreamConsumer
- # See Zope.Server.IStreamConsumer.IStreamConsumer
+ # See IStreamConsumer
completed = 0
inbuf = ''
cmd = ''
@@ -41,12 +41,8 @@
self.adj = adj
- ############################################################
- # Implementation methods for interface
- # Zope.Server.IStreamConsumer
-
def received(self, data):
- 'See Zope.Server.IStreamConsumer.IStreamConsumer'
+ 'See IStreamConsumer'
if self.completed:
return 0 # Can't consume any more.
pos = data.find('\n')
@@ -65,10 +61,6 @@
line = self.inbuf.strip()
self.parseLine(line)
return len(s)
-
- #
- ############################################################
-
def parseLine(self, line):
parts = line.split(' ', 1)
=== Zope3/src/zope/server/linereceiver/linetask.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/server/linereceiver/linetask.py:1.1.2.2 Mon Dec 23 16:45:30 2002
+++ Zope3/src/zope/server/linereceiver/linetask.py Tue Dec 24 07:51:33 2002
@@ -36,11 +36,6 @@
self.close_on_finish = 0
-
- ############################################################
- # Implementation methods for interface
- # Zope.Server.ITask
-
def service(self):
"""Called to execute the task.
"""
@@ -60,16 +55,13 @@
def cancel(self):
- 'See Zope.Server.ITask.ITask'
+ 'See ITask'
self.channel.close_when_done()
def defer(self):
- 'See Zope.Server.ITask.ITask'
+ 'See ITask'
pass
-
- #
- ############################################################
def start(self):
now = time.time()