"""
# today we don't have per-request filtering, but we might want to
# add it in the future
- # pylint: disable-msg=W0613
+ # pylint: disable=W0613
return self.AUTH_REALM
def AuthenticationRequired(self, req):
"""
# Unused argument, method could be a function
- # pylint: disable-msg=W0613,R0201
+ # pylint: disable=W0613,R0201
return False
def PreHandleRequest(self, req):
"""
try:
- creds = base64.b64decode(in_data.encode('ascii')).decode('ascii')
+ creds = base64.b64decode(in_data.encode("ascii")).decode("ascii")
except (TypeError, binascii.Error, UnicodeError):
logging.exception("Error when decoding Basic authentication credentials")
return False