Skip to content

Commit

Permalink
exception as e
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjansson committed Aug 27, 2012
1 parent aca7847 commit 2bb67f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirex/getkey
Expand Up @@ -598,7 +598,7 @@ if __name__ == '__main__':
sys.exit(1)

key = get_key(model, test_profile)
except Exception e:
except Exception as e:
logging.warn('Failed to get key for %s: %s' % (args.input, e))
sys.exit(2)
line = '%s\n' % key.mirex_repr()
Expand Down

0 comments on commit 2bb67f9

Please sign in to comment.