From 346bf28816da5705e7681a886247c0f32884723b Mon Sep 17 00:00:00 2001 From: Jonathan Huot Date: Thu, 2 Aug 2018 10:04:13 +0200 Subject: Fixed py27/pypy support --- oauthlib/oauth2/rfc6749/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1