diff options
-rwxr-xr-x | Lib/tabnanny.py | 2 | ||||
-rwxr-xr-x | Tools/idle/tabnanny.py | 2 | ||||
-rwxr-xr-x | Tools/scripts/tabnanny.py | 2 |
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: |