diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-06-06 07:23:42 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-06-06 07:23:42 -0400 |
commit | df3905616933c90af95e99f705b800a2f5c1c921 (patch) | |
tree | f9def47225ce6dd5d88cd51bd7442f3c78aab877 /setuptools/py27compat.py | |
parent | 48b63f309650af9e43368cf0d6792ea247ad8663 (diff) | |
parent | f43c0f0651edfe1f52b0a178cfe2a5234a008af0 (diff) | |
download | external_python_setuptools-df3905616933c90af95e99f705b800a2f5c1c921.tar.gz external_python_setuptools-df3905616933c90af95e99f705b800a2f5c1c921.tar.bz2 external_python_setuptools-df3905616933c90af95e99f705b800a2f5c1c921.zip |
Merge with master
Diffstat (limited to 'setuptools/py27compat.py')
-rw-r--r-- | setuptools/py27compat.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/setuptools/py27compat.py b/setuptools/py27compat.py index 9d2886db..702f7d65 100644 --- a/setuptools/py27compat.py +++ b/setuptools/py27compat.py @@ -5,11 +5,11 @@ Compatibility Support for Python 2.7 and earlier import sys def get_all_headers(message, key): - """ - Given an HTTPMessage, return all headers matching a given key. - """ - return message.get_all(key) + """ + Given an HTTPMessage, return all headers matching a given key. + """ + return message.get_all(key) if sys.version_info < (3,): - def get_all_headers(message, key): - return message.getheaders(key) + def get_all_headers(message, key): + return message.getheaders(key) |