server/session.py
changeset 4533 05eadf88b797
parent 4517 0f3c10fc42b2
child 4703 4e803c30b7db
--- a/server/session.py	Wed Feb 10 08:07:53 2010 +0100
+++ b/server/session.py	Wed Feb 10 08:08:17 2010 +0100
@@ -484,10 +484,8 @@
                     operation.failed = True
                     for operation in processed:
                         operation.handle_event('revert%s_event' % trstate)
-                    # res
-
-                    # XXX self.pending_operations is supposed to be
-                    # read-only, and we are clearly modifying it here.
+                    # XXX use slice notation since self.pending_operations is a
+                    # read-only property.
                     self.pending_operations[:] = processed + self.pending_operations 
                     self.rollback(reset_pool)
                     raise