summaryrefslogtreecommitdiffstats
path: root/Lib/tabnanny.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tabnanny.py')
-rwxr-xr-xLib/tabnanny.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tabnanny.py b/Lib/tabnanny.py
index a6cb94b..6dca8af 100755
--- a/Lib/tabnanny.py
+++ b/Lib/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: