diff --git a/CHANGES b/CHANGES index 206a9bc..fcba796 100644 --- a/CHANGES +++ b/CHANGES @@ -39,3 +39,7 @@ 2.3.4 === - Add headers param to stats_list method + +2.3.5 +=== +- Add request timeout argument diff --git a/sailthru/sailthru_http.py b/sailthru/sailthru_http.py index d2f6275..e8ae85d 100644 --- a/sailthru/sailthru_http.py +++ b/sailthru/sailthru_http.py @@ -34,7 +34,7 @@ def sailthru_http_request(url, data, method, file_data=None, headers=None): data = flatten_nested_hash(data) method = method.upper() params, data = (None, data) if method == 'POST' else (data, None) - sailthru_headers = {'User-Agent': 'Sailthru API Python Client %s; Python Version: %s' % ('2.3.4', platform.python_version())} + sailthru_headers = {'User-Agent': 'Sailthru API Python Client %s; Python Version: %s' % ('2.3.5', platform.python_version())} if headers and isinstance(headers, dict): for key, value in sailthru_headers.items(): headers[key] = value diff --git a/setup.py b/setup.py index 6e8a2e8..04b0fc9 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='sailthru-client', - version='2.3.4', + version='2.3.5', packages=find_packages(), description='Python client for Sailthru API', long_description=open('README.md').read(),