Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Apr 8, 2024
1 parent 93e1921 commit 7335d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpcontribs-client/mpcontribs/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,7 @@ def init_columns(self, columns: dict = None) -> dict:
for u in [existing_unit, new_unit]:
try:
conv_args.append(ureg.Unit(u))
except ValueError as ex:
except ValueError:
raise MPContribsClientError(
f"Can't convert {existing_unit} to {new_unit} for {path}"
)
Expand Down

0 comments on commit 7335d17

Please sign in to comment.