[Zope-Checkins] CVS: Zope/ZServer - FTPRequest.py:1.11.32.2
Shane Hathaway
shane@digicool.com
Thu, 25 Oct 2001 16:40:25 -0400
Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv16270/ZServer
Modified Files:
Tag: ComponentArchitecture-branch
FTPRequest.py
Log Message:
Updated to new API
=== Zope/ZServer/FTPRequest.py 1.11.32.1 => 1.11.32.2 ===
return path
- def _addDefaultView(self, object, path):
+ def _getDefaultView(self, object):
"""
Returns (object, entry_name).
"""
if self['REQUEST_METHOD'] == 'PUT':
- return object, 'PUT'
+ return object, ('PUT',)
else:
- return object, None
+ return object, ()
def _traverseName(self, object, entry_name, m_name="_ftp_traverse"):
"""