Skip to content
Myr

Import oauthlib without the obsolete wrapper.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes #1000.

authored by Matt McClure · committed by Matt McClure · parent d74bd7e · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/auth.py+2 added-1 removed
17 unmodified lines
18from .compat import urlparse, str19from .utils import parse_dict_header2021try:22 from ._oauth import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER, extract_params)22 from oauthlib.common import extract_params23 from oauthlib.oauth1.rfc5849 import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER)2425except (ImportError, SyntaxError):26 SIGNATURE_HMAC = None27 SIGNATURE_TYPE_AUTH_HEADER = None
368 unmodified lines