diff options
author | Steven Huwig <steve.huwig@unizin.org> | 2017-01-09 09:32:29 -0500 |
---|---|---|
committer | Steven Huwig <steve.huwig@unizin.org> | 2017-01-09 09:32:29 -0500 |
commit | 66260fab4a9bd81ba9e74323147bad3f25ddcd56 (patch) | |
tree | 541c846896f7334026a370c079ca2b602088a2c0 | |
parent | 47f38135620f9ee515df265bf4ec3877b3ef6500 (diff) | |
download | oauthlib-66260fab4a9bd81ba9e74323147bad3f25ddcd56.tar.gz |
Use a more grep-able variable name
-rw-r--r-- | oauthlib/oauth1/rfc5849/endpoints/signature_only.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oauthlib/oauth1/rfc5849/endpoints/signature_only.py b/oauthlib/oauth1/rfc5849/endpoints/signature_only.py index 99ff575..97a3914 100644 --- a/oauthlib/oauth1/rfc5849/endpoints/signature_only.py +++ b/oauthlib/oauth1/rfc5849/endpoints/signature_only.py @@ -34,17 +34,17 @@ class SignatureOnlyEndpoint(BaseEndpoint): """ try: request = self._create_request(uri, http_method, body, headers) - except errors.OAuth1Error as e: + except errors.OAuth1Error as err: log.info( - 'Exception caught while validating request, %s.' % e) + 'Exception caught while validating request, %s.' % err) return False, None try: self._check_transport_security(request) self._check_mandatory_parameters(request) - except errors.OAuth1Error as e: + except errors.OAuth1Error as err: log.info( - 'Exception caught while validating request, %s.' % e) + 'Exception caught while validating request, %s.' % err) return False, request if not self.request_validator.validate_timestamp_and_nonce( |