[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py Merge r40240 from Zope 2.8 branch:

Philipp von Weitershausen philikon at philikon.de
Sat Nov 19 04:27:35 EST 2005


Log message for revision 40241:
  Merge r40240 from Zope 2.8 branch:
    Make ++skin++ work for Five views by putting another stub method on the
    request.  I wonder when we can retire ZPublisher and use zope.publisher
    instead.
  

Changed:
  U   Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py

-=-
Modified: Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py
===================================================================
--- Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py	2005-11-19 09:18:44 UTC (rev 40240)
+++ Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py	2005-11-19 09:27:35 UTC (rev 40241)
@@ -1339,6 +1339,10 @@
     def taintWrapper(self, enabled=TAINTING_ENABLED):
         return enabled and TaintRequestWrapper(self) or self
 
+    def shiftNameToApplication(self):
+        """see zope.publisher.interfaces.http.IVirtualHostRequest"""
+        # this is needed for ++skin++
+
     def getURL(self):
         return self.URL
 



More information about the Zope-Checkins mailing list