[Zope3-checkins]
SVN: Zope3/branches/hdima-language-namespace/src/zope/app/traversing/
++language++ renamed to ++lang++
Dmitry Vasiliev
dima at hlabs.spb.ru
Tue Oct 18 10:42:09 EDT 2005
Log message for revision 39494:
++language++ renamed to ++lang++
Changed:
U Zope3/branches/hdima-language-namespace/src/zope/app/traversing/configure.zcml
U Zope3/branches/hdima-language-namespace/src/zope/app/traversing/namespace.py
-=-
Modified: Zope3/branches/hdima-language-namespace/src/zope/app/traversing/configure.zcml
===================================================================
--- Zope3/branches/hdima-language-namespace/src/zope/app/traversing/configure.zcml 2005-10-17 18:48:24 UTC (rev 39493)
+++ Zope3/branches/hdima-language-namespace/src/zope/app/traversing/configure.zcml 2005-10-18 14:42:07 UTC (rev 39494)
@@ -86,14 +86,14 @@
/>
<adapter
- name="language"
+ name="lang"
provides="zope.app.traversing.interfaces.ITraversable" for="*"
- factory="zope.app.traversing.namespace.language"
+ factory="zope.app.traversing.namespace.lang"
/>
<view
- name="language" type="*"
+ name="lang" type="*"
provides="zope.app.traversing.interfaces.ITraversable" for="*"
- factory="zope.app.traversing.namespace.language"
+ factory="zope.app.traversing.namespace.lang"
/>
<view
Modified: Zope3/branches/hdima-language-namespace/src/zope/app/traversing/namespace.py
===================================================================
--- Zope3/branches/hdima-language-namespace/src/zope/app/traversing/namespace.py 2005-10-17 18:48:24 UTC (rev 39493)
+++ Zope3/branches/hdima-language-namespace/src/zope/app/traversing/namespace.py 2005-10-18 14:42:07 UTC (rev 39494)
@@ -373,7 +373,7 @@
# resource, which is needed to generate the absolute URL.
return getResource(self.context, name, self.request)
-class language(view):
+class lang(view):
def traverse(self, name, ignored):
self.request.shiftNameToApplication()
More information about the Zope3-Checkins
mailing list