[CMF-checkins] CVS: Products/CMFDefault - Document.py:1.70.2.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Sun Sep 5 14:04:47 EDT 2004
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv21080/CMFDefault
Modified Files:
Tag: yuppie-ti_aliases-redo-branch
Document.py
Log Message:
- simplified Method Aliases API: queryMethodID replaces getMethodPath and getMethodURL
=== Products/CMFDefault/Document.py 1.70 => 1.70.2.1 ===
--- Products/CMFDefault/Document.py:1.70 Tue Aug 24 17:12:58 2004
+++ Products/CMFDefault/Document.py Sun Sep 5 14:04:47 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