summaryrefslogtreecommitdiffstats
path: root/Tools/idle/tabnanny.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/idle/tabnanny.py')
-rwxr-xr-xTools/idle/tabnanny.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/idle/tabnanny.py b/Tools/idle/tabnanny.py
index a6cb94b..6dca8af 100755
--- a/Tools/idle/tabnanny.py
+++ b/Tools/idle/tabnanny.py
@@ -66,7 +66,7 @@ def check(file):
tokenize.tokenize(f.readline, tokeneater)
except tokenize.TokenError, msg:
- print "%s: Token Error: %s" % (`fname`, str(msg))
+ print "%s: Token Error: %s" % (`file`, str(msg))
return
except NannyNag, nag: