summaryrefslogtreecommitdiff
path: root/oauthlib/openid/connect/core/grant_types/base.py
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2019-08-30 11:56:43 +0200
committerGitHub <noreply@github.com>2019-08-30 11:56:43 +0200
commitca57b0bcae835493d9db8f9bf1f1228b71b8e3f8 (patch)
tree71f3d2ecee2ffd32da6f030558d0eed91d953895 /oauthlib/openid/connect/core/grant_types/base.py
parent1f3fc4bfd4fd51711798186591bf3e3ba5a894be (diff)
parent11bf0eca2857f5330237e574630dd916d53cd573 (diff)
downloadoauthlib-ca57b0bcae835493d9db8f9bf1f1228b71b8e3f8.tar.gz
Merge pull request #700 from hugovk/rm-2.7
Drop support for Python 2.7
Diffstat (limited to 'oauthlib/openid/connect/core/grant_types/base.py')
-rw-r--r--oauthlib/openid/connect/core/grant_types/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oauthlib/openid/connect/core/grant_types/base.py b/oauthlib/openid/connect/core/grant_types/base.py
index 32a21b6..cd27237 100644
--- a/oauthlib/openid/connect/core/grant_types/base.py
+++ b/oauthlib/openid/connect/core/grant_types/base.py
@@ -11,7 +11,7 @@ from oauthlib.oauth2.rfc6749.errors import ConsentRequired, InvalidRequestError,
log = logging.getLogger(__name__)
-class GrantTypeBase(object):
+class GrantTypeBase:
# Just proxy the majority of method calls through to the
# proxy_target grant type handler, which will usually be either
@@ -20,7 +20,7 @@ class GrantTypeBase(object):
return getattr(self.proxy_target, attr)
def __setattr__(self, attr, value):
- proxied_attrs = set(('refresh_token', 'response_types'))
+ proxied_attrs = {'refresh_token', 'response_types'}
if attr in proxied_attrs:
setattr(self.proxy_target, attr, value)
else: