changeset 264:d805136dc37e

Fix moin to work with the latest sqlalchemy version 0.7.1
author Michael Kerrin <michael.kerrin@gmail.com>
date Tue, 28 Jun 2011 14:38:19 +0100
parents 85d1cbf6922a
children 7a81ff51008a
files MoinMoin/storage/backends/sqla.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/storage/backends/sqla.py	Sun Jun 26 15:43:15 2011 +0200
+++ b/MoinMoin/storage/backends/sqla.py	Tue Jun 28 14:38:19 2011 +0100
@@ -600,6 +600,7 @@
         self._revno = revno
         self.setup(item._backend)
         self._item = item
+        self._item_id = item.id
 
     def __del__(self):
         # XXX XXX XXX DO NOT RELY ON THIS