diff options
author | Guido van Rossum <guido@python.org> | 2000-02-29 13:08:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-02-29 13:08:44 (GMT) |
commit | 1b6d21bb3e931cffd30cfa9897405d282d4545e8 (patch) | |
tree | 24c1a62e18ad3e50dede136b381aa30c06720849 /Tools/scripts/checkappend.py | |
parent | aacf5ce1ad93189ab9cc03ae6b5fbc2a16e93958 (diff) | |
download | cpython-1b6d21bb3e931cffd30cfa9897405d282d4545e8.zip cpython-1b6d21bb3e931cffd30cfa9897405d282d4545e8.tar.gz cpython-1b6d21bb3e931cffd30cfa9897405d282d4545e8.tar.bz2 |
Correct type error in getopt.error handling code.
Diffstat (limited to 'Tools/scripts/checkappend.py')
-rwxr-xr-x | Tools/scripts/checkappend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/checkappend.py b/Tools/scripts/checkappend.py index 727d5ee..c1188e2 100755 --- a/Tools/scripts/checkappend.py +++ b/Tools/scripts/checkappend.py @@ -52,7 +52,7 @@ def main(): try: opts, args = getopt.getopt(sys.argv[1:], "v") except getopt.error, msg: - errprint(msg + "\n\n" + __doc__) + errprint(str(msg) + "\n\n" + __doc__) return for opt, optarg in opts: if opt == '-v': |