[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/medusa - ftp_server.py:1.18.42.2 logger.py:1.13.20.2
Martijn Pieters
mj@zope.com
Wed, 13 Feb 2002 00:07:20 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Server/medusa
In directory cvs.zope.org:/tmp/cvs-serv16918
Modified Files:
Tag: Zope-3x-branch
ftp_server.py logger.py
Log Message:
Whoops, leave the medusa package alone; revert changes in this package.
=== Zope3/lib/python/Zope/Server/medusa/ftp_server.py 1.18.42.1 => 1.18.42.2 ===
help_lines = []
for attr in attrs:
- if attr.startswith('cmd_'):
+ if attr[:4] == 'cmd_':
x = getattr (self, attr)
if type(x) == type(self.cmd_help):
if x.__doc__:
=== Zope3/lib/python/Zope/Server/medusa/logger.py 1.13.20.1 => 1.13.20.2 ===
def log (self, message):
- if not message.endswith('\r\n'):
+ if message[-2:] != '\r\n':
self.socket.push (message + '\r\n')
else:
self.socket.push (message)