diff options
author | Hugo <hugovk@users.noreply.github.com> | 2019-08-15 00:01:16 +0300 |
---|---|---|
committer | Hugo <hugovk@users.noreply.github.com> | 2019-08-15 12:24:34 +0300 |
commit | b41d4801dec588d82e6633869ac541e207598297 (patch) | |
tree | ec7d832c34f6d9614a5429a0829c1916a90be92d /oauthlib/oauth1/rfc5849/parameters.py | |
parent | 81e37c08162124854822581e23ac2cd81fa43d4a (diff) | |
download | oauthlib-b41d4801dec588d82e6633869ac541e207598297.tar.gz |
Drop support for legacy Python 2.7
Diffstat (limited to 'oauthlib/oauth1/rfc5849/parameters.py')
-rw-r--r-- | oauthlib/oauth1/rfc5849/parameters.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/oauthlib/oauth1/rfc5849/parameters.py b/oauthlib/oauth1/rfc5849/parameters.py index 569a136..95e07d5 100644 --- a/oauthlib/oauth1/rfc5849/parameters.py +++ b/oauthlib/oauth1/rfc5849/parameters.py @@ -13,10 +13,7 @@ from oauthlib.common import extract_params, urlencode from . import utils -try: - from urlparse import urlparse, urlunparse -except ImportError: # noqa - from urllib.parse import urlparse, urlunparse +from urllib.parse import urlparse, urlunparse # TODO: do we need filter_params now that oauth_params are handled by Request? |