[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/VFS - PublisherFileSystem.py:1.1.2.5
Stephan Richter
srichter@cbu.edu
Tue, 9 Apr 2002 12:49:18 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Server/VFS
In directory cvs.zope.org:/tmp/cvs-serv15777/Server/VFS
Modified Files:
Tag: Zope3-Server-Branch
PublisherFileSystem.py
Log Message:
Okay, I cleaned up some stuff.
Could someone look at PublisherFileSystem._execute() and tell me why the
Request looses the response during the publish process! Any ideas?
=== Zope3/lib/python/Zope/Server/VFS/PublisherFileSystem.py 1.1.2.4 => 1.1.2.5 ===
- def __init__ (self, root, persona):
+ def __init__ (self, root, username, password):
self.root = root
+ self.username
+ self.password
def _execute(self, path, command, env=None):
@@ -51,7 +53,10 @@
env['command'] = command
env['path'] = path
+ # XXX integrate security somehow into the request
+
request = self.request_factory(StringIO(''), StringIO(), env)
+ # XXX **** WHY IS THE REQUEST LOOSING ITS RESPONSE DURING PUBLISH? ***
resp = request._response
publish(request)
print resp.getResult()