summaryrefslogtreecommitdiff
path: root/pylint/utils/ast_walker.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/utils/ast_walker.py')
-rw-r--r--pylint/utils/ast_walker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/utils/ast_walker.py b/pylint/utils/ast_walker.py
index 338caf57a..367a39b81 100644
--- a/pylint/utils/ast_walker.py
+++ b/pylint/utils/ast_walker.py
@@ -98,7 +98,7 @@ class ASTWalker:
if self.exception_msg is False:
file = getattr(astroid.root(), "file", None)
print(
- f"Exception on node {repr(astroid)} in file '{file}'",
+ f"Exception on node {astroid!r} in file '{file}'",
file=sys.stderr,
)
traceback.print_exc()