summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-28 16:01:13 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-28 16:01:13 (GMT)
commit53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5 (patch)
tree90155f8367d760b520d5f1cedb70db3e809b24c8 /Tools
parentb86ba124eab06ab9b132647bee4c00c13269e185 (diff)
downloadcpython-53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5.zip
cpython-53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5.tar.gz
cpython-53117ae82aaa7c274ff0d26e7466e6d5ee4e8fb5.tar.bz2
typo in error message (fname vs. file).
(Jack)
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/idle/tabnanny.py2
-rwxr-xr-xTools/scripts/tabnanny.py2
2 files changed, 2 insertions, 2 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:
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: