projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3ccd01
)
Use the right URLError attribute names for error messages
author
Diane Trout
<diane@caltech.edu>
Tue, 23 Dec 2008 02:05:35 +0000
(
02:05
+0000)
committer
Diane Trout
<diane@caltech.edu>
Tue, 23 Dec 2008 02:05:35 +0000
(
02:05
+0000)
htsworkflow/pipelines/retrieve_config.py
patch
|
blob
|
history
diff --git
a/htsworkflow/pipelines/retrieve_config.py
b/htsworkflow/pipelines/retrieve_config.py
index 380c0de1015b66d52195b21d45106a3bbf0000ef..5c6ec571fb20808a86fdb6633c9f1a2f22610849 100644
(file)
--- a/
htsworkflow/pipelines/retrieve_config.py
+++ b/
htsworkflow/pipelines/retrieve_config.py
@@
-148,10
+148,9
@@
def saveConfigFile(flowcell, base_host_url, output_filepath):
try:
web = urllib2.urlopen(url)
except urllib2.URLError, e:
- errmsg = 'URLError: %
d' % (e.code
,)
+ errmsg = 'URLError: %
s' % (e.reason
,)
logging.error(errmsg)
logging.error('opened %s' % (url,))
- logging.error('%s' % ( e.read(),))
raise IOError(errmsg)
#except IOError, msg: