[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/TraversalViews - AbsoluteURL.py:1.5.6.2
Deb
dhazarika@zeomega.com
Tue, 29 Oct 2002 07:30:17 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/TraversalViews
In directory cvs.zope.org:/tmp/cvs-serv32230
Modified Files:
Tag: Zope3-Bangalore-TTW-Branch
AbsoluteURL.py
Log Message:
usage of string module is removed
=== Zope3/lib/python/Zope/App/ZopePublication/TraversalViews/AbsoluteURL.py 1.5.6.1 => 1.5.6.2 ===
--- Zope3/lib/python/Zope/App/ZopePublication/TraversalViews/AbsoluteURL.py:1.5.6.1 Fri Oct 25 06:30:17 2002
+++ Zope3/lib/python/Zope/App/ZopePublication/TraversalViews/AbsoluteURL.py Tue Oct 29 07:30:17 2002
@@ -19,7 +19,6 @@
from Zope.Publisher.Browser.BrowserView import BrowserView
from Zope.Proxy.ContextWrapper import getWrapperContainer, getInnerWrapperData
from Zope.ComponentArchitecture import getView
-import string
from Interface import Interface
class IAbsoluteURL(Interface):
@@ -78,9 +77,8 @@
}, )
return base
- if string.find(name,'++module++')==-1:
- base = getView(container, 'absolute_url', self.request).breadcrumbs()
- base += ({'name': name, 'url': ("%s/%s" % (base[-1]['url'], name))}, )
+ base = getView(container, 'absolute_url', self.request).breadcrumbs()
+ base += ({'name': name, 'url': ("%s/%s" % (base[-1]['url'], name))}, )
return base