[Zope-CVS] CVS: Products/Basket - resource.py:1.2
Chris McDonough
chrism at plope.com
Tue Nov 8 23:24:49 EST 2005
Update of /cvs-repository/Products/Basket
In directory cvs.zope.org:/tmp/cvs-serv32167
Modified Files:
resource.py
Log Message:
Append '.dtml' to path (like DTMLFile)... some tests now fail.
=== Products/Basket/resource.py 1.1 => 1.2 ===
--- Products/Basket/resource.py:1.1 Tue Nov 8 21:28:02 2005
+++ Products/Basket/resource.py Tue Nov 8 23:24:18 2005
@@ -166,6 +166,8 @@
if not kw.has_key('__name__'):
kw['__name__'] = os.path.basename(path)
+ path = path + '.dtml'
+
#from FileMixin.__init__(self, *args, **kw)
self.raw = (module, path)
self.initvars(None, kw)
More information about the Zope-CVS
mailing list