devtools/fake.py
branchstable
changeset 2178 a73bf75a1ef9
parent 2101 08003e0354a7
child 2181 94ca417b9b07
equal deleted inserted replaced
2170:6adbc965c51b 2178:a73bf75a1ef9
   171         self.is_super_session = self.user.eid == -1
   171         self.is_super_session = self.user.eid == -1
   172         self.transaction_data = {}
   172         self.transaction_data = {}
   173 
   173 
   174     def execute(self, *args):
   174     def execute(self, *args):
   175         pass
   175         pass
       
   176     unsafe_execute = execute
       
   177     
   176     def commit(self, *args):
   178     def commit(self, *args):
   177         self.transaction_data.clear()
   179         self.transaction_data.clear()
   178     def close(self, *args):
   180     def close(self, *args):
   179         pass
   181         pass
   180     def system_sql(self, sql, args=None):
   182     def system_sql(self, sql, args=None):