def internalerror(self):
        parent = self.get_parent_app()
        if parent:
            return parent.internalerror()
        elif web.config.get('debug'):
            import debugerror
            return debugerror.debugerror()
        else:
            return web._InternalError()
The commit_manually function also works with a using argument.
dataset/ETHPy150Open joxeankoret/nightmare/runtime/web/application.py/application.internalerror--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/transactions/tests.py/TransactionTests.test_manually_managed_with_using