From 1b6d21bb3e931cffd30cfa9897405d282d4545e8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 29 Feb 2000 13:08:44 +0000 Subject: [PATCH] Correct type error in getopt.error handling code. --- Tools/scripts/checkappend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/scripts/checkappend.py b/Tools/scripts/checkappend.py index 727d5ee38be..c1188e24177 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':