We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4da726 commit c54afe3Copy full SHA for c54afe3
1 file changed
debug_toolbar/utils.py
@@ -24,7 +24,7 @@ def import_string(import_name: str) -> t.Any:
24
try:
25
return getattr(module, obj_name)
26
except AttributeError as e:
27
- raise ImportError(e)
+ raise ImportError(e) from None
28
29
30
def get_name_from_obj(obj: t.Any) -> str:
0 commit comments