Skip to content

Commit c9a6c6e

Browse files
committed
Old python compat
1 parent 2378f0a commit c9a6c6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/semiwrap/hooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ def initialize(self, version: str, build_data: T.Dict[str, T.Any]) -> None:
7373
"",
7474
]
7575

76-
msg += traceback.format_exception_only(e, show_group=True)
76+
msg += traceback.format_exception_only(e)
7777
cause = e.__context__
7878
while cause is not None:
7979
if "prepare_metadata_for_build_editable" in str(cause):
8080
break
8181

82-
el = traceback.format_exception_only(cause, show_group=True)
82+
el = traceback.format_exception_only(cause)
8383
el[0] = f"- caused by {el[0]}"
8484
msg += el
8585

0 commit comments

Comments
 (0)