[Zope-Checkins] CVS: Packages/OFS - Application.py:1.191.2.6
Evan Simpson
evan at 4-am.com
Thu Dec 11 14:45:33 EST 2003
Update of /cvs-repository/Packages/OFS
In directory cvs.zope.org:/tmp/cvs-serv27393/lib/python/OFS
Modified Files:
Tag: Zope-2_7-branch
Application.py
Log Message:
Fix VHM tests, make them pass.
=== Packages/OFS/Application.py 1.191.2.5 => 1.191.2.6 ===
--- Packages/OFS/Application.py:1.191.2.5 Wed Dec 10 12:53:31 2003
+++ Packages/OFS/Application.py Thu Dec 11 14:45:02 2003
@@ -148,7 +148,7 @@
def absolute_url_path(self):
'''The absolute URL path of the root object is BASEPATH1 or "/".'''
try:
- return self.REQUEST['BASEPATH1']
+ return self.REQUEST['BASEPATH1'] or '/'
except (AttributeError, KeyError):
return '/'
More information about the Zope-Checkins
mailing list