[CMF-checkins] CVS: Products/CMFDefault - Document.py:1.69.2.2

Yvo Schubbe y.2004_ at wcm-solutions.de
Tue Sep 7 04:47:54 EDT 2004


Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv20024/CMFDefault

Modified Files:
      Tag: CMF-1_5-branch
	Document.py 
Log Message:
Merged yuppie-ti_aliases-redo-branch:
- replaced getMethodPath and getMethodURL by queryMethodID


=== Products/CMFDefault/Document.py 1.69.2.1 => 1.69.2.2 ===
--- Products/CMFDefault/Document.py:1.69.2.1	Tue Aug 24 17:12:07 2004
+++ Products/CMFDefault/Document.py	Tue Sep  7 04:47:54 2004
@@ -382,7 +382,7 @@
         "Get the document body for FTP download (also used for the WebDAV SRC)"
         if self.Format() == 'text/html':
             ti = self.getTypeInfo()
-            method_id = ti and ti.getMethodURL('gethtml') or None
+            method_id = ti and ti.queryMethodID('gethtml')
             if method_id:
                 method = getattr(self, method_id)
                 if getattr(aq_base(method), 'isDocTemp', 0):



More information about the CMF-checkins mailing list