Skip to content
Myr

quiet spurious pyflakes errors

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

authored by Shivaram Lingamneni · committed by Shivaram Lingamneni · parent 7f9ea04 · Browse files · 2 files+5 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

2 files+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:requests/auth.py+3 added-1 removed
10 unmodified lines
11import hashlib1213from base64 import b64encode1415from .compat import urlparse, str, is_py215from .compat import urlparse, str16from .utils import randombytes, parse_dict_header1718try:19 from oauthlib.oauth1.rfc5849 import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER)20 from oauthlib.common import extract_params21 # hush pyflakes:22 SIGNATURE_HMAC; SIGNATURE_TYPE_AUTH_HEADER23except (ImportError, SyntaxError):24 SIGNATURE_HMAC = None25 SIGNATURE_TYPE_AUTH_HEADER = None26
165 unmodified lines
modified:setup.py+2 added
10 unmodified lines
11from requests.compat import is_py31213try:14 from setuptools import setup15 # hush pyflakes16 setup17except ImportError:18 from distutils.core import setup1920if sys.argv[-1] == 'publish':
63 unmodified lines