[Zope-CVS] CVS: Products/CompositePage - render.py:1.3
Shane Hathaway
shane at zope.com
Tue Dec 30 15:02:47 EST 2003
Update of /cvs-repository/Products/CompositePage
In directory cvs.zope.org:/tmp/cvs-serv18537
Modified Files:
render.py
Log Message:
Don't trip over unicode in retail view names
=== Products/CompositePage/render.py 1.2 => 1.3 ===
--- Products/CompositePage/render.py:1.2 Mon Dec 29 15:59:32 2003
+++ Products/CompositePage/render.py Tue Dec 30 15:02:46 2003
@@ -85,7 +85,7 @@
if names:
name = names[0]
if name != "call":
- view = ob.restrictedTraverse(name)
+ view = ob.restrictedTraverse(str(name))
return view()
# Special view name "call" means to call the object.
if safe_callable(ob):
More information about the Zope-CVS
mailing list