

def _close(self):
    'Close and return any error message'
    if (not hasattr(self.app_iterable, 'close')):
        return None
    try:
        self.app_iterable.close()
        return None
    except:
        close_response = self.error_middleware.exception_handler(sys.exc_info(), close_response.environ)
        return close_response

dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/exceptions/errormiddleware.py CatchingIter._close/VarMisuse@65/91 `self`->`close_response`