--- a/server/session.py Mon Feb 08 15:28:18 2010 +0100
+++ b/server/session.py Mon Feb 08 15:28:34 2010 +0100
@@ -475,7 +475,10 @@
for operation in processed:
operation.handle_event('revert%s_event' % trstate)
# res
- self.pending_operations[:] = processed + self.pending_operations
+
+ # XXX self.pending_operations is supposed to be
+ # read-only, and we are clearly modifying it here.
+ self.pending_operations[:] = processed + self.pending_operations
self.rollback(reset_pool)
raise
self.pool.commit()