self.uh = uh
self._server_encoding = None
- def call_alter_db(self, conn):
+ def _call_alter_db(self, conn):
'''
Alter the contents of the db.
havecreds = False
else:
havecreds = True
- errors = self.call_alter_db(func, conn)
+ errors = self._call_alter_db(func, conn)
self.uh.session.update({'havecreds': havecreds})
return (errors, response)
'''
super(NoTransactionEngine, self).__init__(uh)
- def call_alter_db(self, func, conn):
+ def _call_alter_db(self, func, conn):
'''
Call a database modification function with a db connection,
turning off the automatic wrapping of the activity in
'''
super(UnsafeUploadEngine, self).__init__(uh)
- def call_alter_db(self, func, conn):
+ def _call_alter_db(self, func, conn):
'''
Call a database modification function with a connection.