From 3bc5725d99c3544b797f13d0518a725b86c037e0 Mon Sep 17 00:00:00 2001 From: pjkersha Date: Mon, 11 Jul 2016 16:38:14 +0100 Subject: [PATCH 1/2] Removed duplicate open call in `open_url` --- ndg/httpsclient/utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ndg/httpsclient/utils.py b/ndg/httpsclient/utils.py index d55d8f6..7e43a73 100644 --- a/ndg/httpsclient/utils.py +++ b/ndg/httpsclient/utils.py @@ -217,9 +217,6 @@ def open_url(url, config, data=None, handlers=None): return_message = '' response = None - # FIXME - response = opener.open(request) - try: response = opener.open(request) return_message = response.msg From e5e36bca13e0501af3c22eda1d529460b8a11477 Mon Sep 17 00:00:00 2001 From: pjkersha Date: Tue, 19 Jul 2016 14:22:31 +0100 Subject: [PATCH 2/2] Preparing 0.4.2 release. Fix to bug in ``ndg.httpsclient.utils.open_url`` - duplicate open call. Nb. This bug and the fix DO NOT affect the ``httplib``and ``urllib2`` interfaces that this package provides. --- README.md | 6 ++++++ setup.py | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8aef73c..01adc11 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,12 @@ of the SSL peer using ``pyasn1``. Releases ======== +0.4.2 +----- + * Fix to bug in ``ndg.httpsclient.utils.open_url`` - duplicate open call. + Nb. This bug and the fix DO NOT affect the ``httplib``and ``urllib2`` + interfaces that this package provides. + 0.4.1 ----- * Added explicit ref to Python 3 in classifier text for Python 3 checking tools. diff --git a/setup.py b/setup.py index 86b6844..5b51756 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,12 @@ Releases ======== +0.4.2 +----- + * Fix to bug in ``ndg.httpsclient.utils.open_url`` - duplicate open call. + Nb. This bug and the fix DO NOT affect the ``httplib``and ``urllib2`` + interfaces that this package provides. + 0.4.1 ----- * Added explicit ref to Python 3 in classifier text for Python 3 checking tools. @@ -112,7 +118,7 @@ setup( name='ndg_httpsclient', - version="0.4.1", + version="0.4.2", description='Provides enhanced HTTPS support for httplib and urllib2 using ' 'PyOpenSSL', author='Richard Wilkinson and Philip Kershaw',