Skip to content

Commit cf1c2b0

Browse files
style: remove trailing whitespace in traceback.py
1 parent e8fa54a commit cf1c2b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/traceback.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,9 +1723,9 @@ def _compute_suggestion_message(exc_type, exc_value, exc_traceback):
17231723
"add the site-packages directory to sys.path?")
17241724
if issubclass(exc_type, (ImportError, NameError, AttributeError)):
17251725
if issubclass(exc_type, ImportError):
1726-
wrong_name = getattr(exc_value, "name_from", None)
1726+
wrong_name = getattr(exc_value, "name_from", None)
17271727
else:
1728-
wrong_name = getattr(exc_value, "name", None)
1728+
wrong_name = getattr(exc_value, "name", None)
17291729
if wrong_name:
17301730
other_name = _compute_suggestion_error(
17311731
exc_value, exc_traceback, wrong_name

0 commit comments

Comments
 (0)