devtools/fake.py
branchstable
changeset 2101 08003e0354a7
parent 1977 606923dff11b
child 2144 51c84d585456
child 2178 a73bf75a1ef9
--- a/devtools/fake.py	Thu Jun 11 19:04:20 2009 +0200
+++ b/devtools/fake.py	Thu Jun 11 19:07:47 2009 +0200
@@ -169,12 +169,12 @@
         self.user = user or FakeUser()
         self.is_internal_session = False
         self.is_super_session = self.user.eid == -1
-        self._query_data = {}
+        self.transaction_data = {}
 
     def execute(self, *args):
         pass
     def commit(self, *args):
-        self._query_data.clear()
+        self.transaction_data.clear()
     def close(self, *args):
         pass
     def system_sql(self, sql, args=None):