projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
de59f51
)
fix import path for HTTPError exception
author
Diane Trout
<diane@ghic.org>
Tue, 20 Oct 2015 23:19:55 +0000
(16:19 -0700)
committer
Diane Trout
<diane@ghic.org>
Tue, 20 Oct 2015 23:19:55 +0000
(16:19 -0700)
scripts/htsw-record-runfolder
patch
|
blob
|
history
diff --git
a/scripts/htsw-record-runfolder
b/scripts/htsw-record-runfolder
index dfd0ae11b437e1dda5a045852997aaf85cea26c8..58a13ce076666beab2ee56b5370bd41053be2f77 100755
(executable)
--- a/
scripts/htsw-record-runfolder
+++ b/
scripts/htsw-record-runfolder
@@
-46,7
+46,7
@@
def update_db(root_url, flowcells, serial, debug=False):
req = urllib.request.Request(url)
try:
response = urllib2.urlopen(req)
- except urllib.
request
.HTTPError, e:
+ except urllib.
error
.HTTPError, e:
print 'ERROR - HTTP OUTPUT (Return Code: %s); use -v/--verbose for more details.' % (e.code)
if debug:
print e.read()