[Zope3-checkins] SVN: Zope3/trunk/src/zope/tal/talinterpreter.py Note a problem with bare except.

Florent Guillaume fg at nuxeo.com
Thu Aug 12 12:48:40 EDT 2004


Log message for revision 27064:
  Note a problem with bare except.


Changed:
  U   Zope3/trunk/src/zope/tal/talinterpreter.py


-=-
Modified: Zope3/trunk/src/zope/tal/talinterpreter.py
===================================================================
--- Zope3/trunk/src/zope/tal/talinterpreter.py	2004-08-12 16:45:58 UTC (rev 27063)
+++ Zope3/trunk/src/zope/tal/talinterpreter.py	2004-08-12 16:48:40 UTC (rev 27064)
@@ -830,6 +830,7 @@
         self._stream_write = stream.write
         try:
             self.interpret(block)
+        # TODO: this should not catch ZODB.POSException.ConflictError.
         except:
             exc = sys.exc_info()[1]
             self.restoreState(state)



More information about the Zope3-Checkins mailing list