[Zope3-checkins] SVN: Zope3/trunk/src/zope/publisher/browser.py
Support yet another deprecated method.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Sep 14 16:12:46 EDT 2005
Log message for revision 38468:
Support yet another deprecated method.
Changed:
U Zope3/trunk/src/zope/publisher/browser.py
-=-
Modified: Zope3/trunk/src/zope/publisher/browser.py
===================================================================
--- Zope3/trunk/src/zope/publisher/browser.py 2005-09-14 19:30:42 UTC (rev 38467)
+++ Zope3/trunk/src/zope/publisher/browser.py 2005-09-14 20:12:46 UTC (rev 38468)
@@ -729,6 +729,13 @@
class BBBResponse(BrowserResponse):
+ def write(self, str):
+ import warnings
+ warnings.warn("write() method does not exist anymore.",
+ DeprecationWarning,
+ 2)
+ self.outstream.write(str)
+
def outputBody(self):
import warnings
warnings.warn("Can't pass output streams to requests anymore",
More information about the Zope3-Checkins
mailing list