From a4f19a324b74a87065a69d8c26f62c544c386a08 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Tue, 27 Oct 2015 11:16:20 -0700 Subject: [PATCH] make exception dotted name python3 compliant --- htsworkflow/pipelines/retrieve_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htsworkflow/pipelines/retrieve_config.py b/htsworkflow/pipelines/retrieve_config.py index a2153d0..de9b051 100644 --- a/htsworkflow/pipelines/retrieve_config.py +++ b/htsworkflow/pipelines/retrieve_config.py @@ -46,7 +46,7 @@ def retrieve_flowcell_info(base_host_url, flowcell): try: apipayload = urllib.parse.urlencode(apidata) web = urllib.request.urlopen(url, apipayload) - except urllib.request.HTTPError as e: + except urllib.error.HTTPError as e: errmsg = 'URLError: %d %s' % (e.code, e.msg) LOGGER.error(errmsg) LOGGER.error('opened %s' % (url,)) -- 2.30.2