def _rollback(self): try: BaseDatabaseWrapper._rollback(self) except Database.NotSupportedError: pass