

def __init__(self, settings):
    self.handle_httpstatus_all = settings.getbool('HTTPERROR_ALLOW_ALL')
    self.handle_httpstatus_list = settings.getlist('HTTPERROR_ALLOWED_CODES')

dataset/ETHPy150Open wcong/ants/ants/contrib/spidermiddleware/httperror.py HttpErrorMiddleware.__init__/original