Skip to content

Commit

Permalink
fix: change module getattr import error to attribute error
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed Oct 18, 2022
1 parent f1c881f commit 2f6aae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siuba/sql/verbs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def __getattr__(name):
)
return LazyTbl

raise ImportError(f"cannot import name '{name}' from 'siuba.sql.verbs'")
raise AttributeError(f"module 'siuba.sql.verbs' has no attribute '{name}'")

0 comments on commit 2f6aae3

Please sign in to comment.