[Zope-Checkins] CVS: Zope/lib/python/Products/ZReST - ZReST.py:1.8

Andreas Jung cvs-admin at zope.org
Tue Nov 4 11:03:05 EST 2003


Update of /cvs-repository/Zope/lib/python/Products/ZReST
In directory cvs.zope.org:/tmp/cvs-serv7099/lib/python/Products/ZReST

Modified Files:
	ZReST.py 
Log Message:
Collector #1097: added __call__ method


=== Zope/lib/python/Products/ZReST/ZReST.py 1.7 => 1.8 ===
--- Zope/lib/python/Products/ZReST/ZReST.py:1.7	Sun Jul  6 06:44:11 2003
+++ Zope/lib/python/Products/ZReST/ZReST.py	Tue Nov  4 11:03:04 2003
@@ -262,6 +262,8 @@
         '''
         return self.quotedHTML(self.source)
 
+    def __call__ = __str__
+
     def PrincipiaSearchSource(self):
         ''' Support for searching - the document's contents are searched.
         '''




More information about the Zope-Checkins mailing list