[Zope-Checkins] CVS: Packages/OFS - Application.py:1.198
Evan Simpson
evan at 4-am.com
Thu Dec 11 14:50:58 EST 2003
Update of /cvs-repository/Packages/OFS
In directory cvs.zope.org:/tmp/cvs-serv31545/lib/python/OFS
Modified Files:
Application.py
Log Message:
Fix VHM tests and make them pass
=== Packages/OFS/Application.py 1.197 => 1.198 ===
--- Packages/OFS/Application.py:1.197 Wed Dec 10 12:52:46 2003
+++ Packages/OFS/Application.py Thu Dec 11 14:50:27 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