[z3-checkins] r5142 - z3/Five/trunk

faassen at codespeak.net faassen at codespeak.net
Thu Jun 17 11:28:33 MEST 2004


Author: faassen
Date: Thu Jun 17 11:28:32 2004
New Revision: 5142

Modified:
   z3/Five/trunk/viewable.py
Log:
Fixed a missing imported reported by Godefroid Chapelle.


Modified: z3/Five/trunk/viewable.py
==============================================================================
--- z3/Five/trunk/viewable.py	(original)
+++ z3/Five/trunk/viewable.py	Thu Jun 17 11:28:32 2004
@@ -1,3 +1,4 @@
+from webdav.NullResource import NullResource
 from zope.component import getView, ComponentLookupError
 from zope.interface import implements
 from zope.publisher.interfaces.browser import IBrowserRequest
@@ -27,6 +28,7 @@
                 return self[name]
             except (AttributeError, KeyError):
                 pass
+            # XXX not sure this is very useful
             method = REQUEST.get('REQUEST_METHOD', 'GET')
             if not method in ('GET', 'POST'):
                 return NullResource(self, name, REQUEST).__of__(self)


More information about the z3-checkins mailing list