Skip to content

Commit

Permalink
Trivial edit
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Aug 20, 2024
1 parent 83c8e57 commit 2ab5771
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scico/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def variable_assign_value(path: str, var: str) -> Any:
# See http://stackoverflow.com/questions/2058802
value_obj = parse(next(filter(lambda line: line.startswith(var), f))).body[0].value # type: ignore
value = value_obj.value # type: ignore

except StopIteration:
raise RuntimeError(f"Could not find initialization of variable {var}")
return value
Expand Down

0 comments on commit 2ab5771

Please sign in to comment.