Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
DimitriPapadopoulos and effigies authored Oct 6, 2024
1 parent df9c00f commit e87a80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype/interfaces/base/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __exit__(self, exc_type, exc_value, exc_tb):
traceback.format_exception(exc_type, exc_value, exc_tb)
)
# Gather up the exception arguments and append nipype info.
exc_args = exc_value.args if exc_value.args else tuple()
exc_args = exc_value.args or ()
exc_args += (
f"An exception of type {exc_type.__name__} occurred while "
f"running interface {self._runtime.interface}.",
Expand Down

0 comments on commit e87a80f

Please sign in to comment.