Skip to content

Commit

Permalink
Fixed typo in exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuncar committed Jun 22, 2017
1 parent 900c8f1 commit 17aa6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion essm/transformer.py
Expand Up @@ -100,7 +100,7 @@ def build_instance_expression(instance, expr, back=1):
if isinstance(data, BaseVariable):
f_locals[name] = data
expr = eval(class_def.expr, f_globals, f_locals)
except IOError, TypeError: # pragma: no cover
except (IOError, TypeError): # pragma: no cover
pass

return expr

0 comments on commit 17aa6e3

Please sign in to comment.