Convert old style except blocks to except Exception as variable: blocks
[htsworkflow.git] / bcmagic / views.py
index df860770fc26309dbfe2aa64cc8bceb63b112989..3d9206fec91e52321043f649cfb9937481f0a07e 100644 (file)
@@ -11,7 +11,7 @@ from . import plugin
 
 try:
     import json
-except ImportError, e:
+except ImportError as e:
     import simplejson as json
 
 import re