[z3-checkins] r14517 - z3/Five/branch/Five-1.0
philikon at codespeak.net
philikon at codespeak.net
Mon Jul 11 21:07:40 CEST 2005
Author: philikon
Date: Mon Jul 11 21:07:38 2005
New Revision: 14517
Modified:
z3/Five/branch/Five-1.0/monkey.py
Log:
merge r14510 from the trunk:
add yet another method to zope2's HTTP request. it's needed by
the menu code
Modified: z3/Five/branch/Five-1.0/monkey.py
==============================================================================
--- z3/Five/branch/Five-1.0/monkey.py (original)
+++ z3/Five/branch/Five-1.0/monkey.py Mon Jul 11 21:07:38 2005
@@ -31,7 +31,10 @@
def setPresentationSkin(self, skin):
self._presentation_skin = skin
+ def getURL(self):
+ return self.URL
+
HTTPRequest.getPresentationSkin = getPresentationSkin
HTTPRequest.setPresentationSkin = setPresentationSkin
-
HTTPRequest.__contains__ = lambda self, key: self.has_key(key)
+ HTTPRequest.getURL = getURL
More information about the z3-checkins
mailing list