From: Guido van Rossum Date: Tue, 29 Feb 2000 13:08:44 +0000 (+0000) Subject: Correct type error in getopt.error handling code. X-Git-Tag: v1.6a1~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b6d21bb3e931cffd30cfa9897405d282d4545e8;p=thirdparty%2FPython%2Fcpython.git Correct type error in getopt.error handling code. --- diff --git a/Tools/scripts/checkappend.py b/Tools/scripts/checkappend.py index 727d5ee38beb..c1188e241770 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':