Convert old style except blocks to except Exception as variable: blocks
[htsworkflow.git] / htsworkflow / submission / ucsc.py
index f7734adbd972b26db9150b155a7cdeb39818e0c1..ff717366f2066b14e8f48213834d1ec27001f3e8 100644 (file)
@@ -61,7 +61,7 @@ def get_encodedcc_file_index(genome, composite):
             request = urllib2.urlopen(request_url)
             file_index = parse_ucsc_file_index(request, base_url)
             return file_index
-        except urllib2.HTTPError, e:
+        except urllib2.HTTPError as e:
             err = e
             pass