CVS: Products/Basket - resource.py:1.2

Chris McDonough <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
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)

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.