summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Huot <jonathan.huot@thomsonreuters.com>2018-08-02 10:04:13 +0200
committerJonathan Huot <jonathan.huot@thomsonreuters.com>2018-09-10 22:42:09 +0200
commit346bf28816da5705e7681a886247c0f32884723b (patch)
treef848b98ea8b509a638b35a51114b8293d3349a1a
parente81ae772e4f260cc02ce07a7396470821ac63b1e (diff)
downloadoauthlib-346bf28816da5705e7681a886247c0f32884723b.tar.gz
Fixed py27/pypy support
-rw-r--r--oauthlib/oauth2/rfc6749/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/errors.py b/oauthlib/oauth2/rfc6749/errors.py
index 8882ab2..a15d6c5 100644
--- a/oauthlib/oauth2/rfc6749/errors.py
+++ b/oauthlib/oauth2/rfc6749/errors.py
@@ -333,7 +333,7 @@ class CustomOAuth2Error(OAuth2Error):
"""
def __init__(self, error, *args, **kwargs):
self.error = error
- super().__init__(*args, **kwargs)
+ super(CustomOAuth2Error, self).__init__(*args, **kwargs)
def raise_from_error(error, params=None):