Skip to content

Commit

Permalink
Fix except clause to work in python3+
Browse files Browse the repository at this point in the history
  • Loading branch information
bw2 committed May 20, 2015
1 parent 357c6e2 commit ae57226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/igv
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ for f in args.__dict__["files and/or locus"]:

try:
igv_robot.execute()
except Exception, e:
except Exception as e:
sys.exit("IGV crashed: %s" % e)
2 changes: 1 addition & 1 deletion bin/igv_plotter
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if snapshot_counter == 0:

try:
igv_robot.execute()
except Exception, e:
except Exception as e:
parser.exit("IGV crashed: %s" % e)

parser.exit("Finished.")
Expand Down

0 comments on commit ae57226

Please sign in to comment.