Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 24, 2024
1 parent 62d288c commit 093d4b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jaraco/mongodb/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,7 @@ def _get_func(cls, source_ver, target_ver):
try:
(match,) = matches
except ValueError:
raise ValueError(f"No migration from {source_ver} to {target_ver}")
raise ValueError(
f"No migration from {source_ver} to {target_ver}"
) from None
return match

0 comments on commit 093d4b7

Please sign in to comment.