Commit 37a0b9d3 authored by sparonuz's avatar sparonuz
Browse files

[Issue#129]: BugFix: we where capturing the wrong exception

parent 93ef997f
......@@ -325,7 +325,7 @@ def get_dimension_of_contents(contents, procedure=None, vault=None):
if re.search(r"%s *\(.*\)" % var.name, contents):
return 0
return var.dimension
except AssertionError:
except Error.VariableNotFound:
return None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment