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

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


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

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


=== Products/CMFDefault/Document.py 1.70 => 1.71 ===
--- Products/CMFDefault/Document.py:1.70	Tue Aug 24 17:12:58 2004
+++ Products/CMFDefault/Document.py	Tue Sep  7 04:48:38 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