summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/tabnanny.py2
-rwxr-xr-xTools/idle/tabnanny.py2
-rwxr-xr-xTools/scripts/tabnanny.py2
3 files changed, 3 insertions, 3 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:
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:
diff --git a/Tools/scripts/tabnanny.py b/Tools/scripts/tabnanny.py
index a6cb94b..6dca8af 100755
--- a/Tools/scripts/tabnanny.py
+++ b/Tools/scripts/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: