diff options
author | Jonathan Huot <jonathan.huot@thomsonreuters.com> | 2018-08-02 10:04:13 +0200 |
---|---|---|
committer | Jonathan Huot <jonathan.huot@thomsonreuters.com> | 2018-08-02 10:04:13 +0200 |
commit | c9ead44e9c3bef100a6434ffbe56a002d54f0475 (patch) | |
tree | 83adfddcec48a77338637c20bcddc0662182f902 | |
parent | 18d7957bd99fa23875698aff271e7873e77c10e9 (diff) | |
download | oauthlib-c9ead44e9c3bef100a6434ffbe56a002d54f0475.tar.gz |
Fixed py27/pypy support
-rw-r--r-- | oauthlib/oauth2/rfc6749/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/errors.py b/oauthlib/oauth2/rfc6749/errors.py index a4b0310..43aa38e 100644 --- a/oauthlib/oauth2/rfc6749/errors.py +++ b/oauthlib/oauth2/rfc6749/errors.py @@ -409,7 +409,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): |