]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct type error in getopt.error handling code.
authorGuido van Rossum <guido@python.org>
Tue, 29 Feb 2000 13:08:44 +0000 (13:08 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 29 Feb 2000 13:08:44 +0000 (13:08 +0000)
Tools/scripts/checkappend.py

index 727d5ee38beba7a7d47db2c39c8287f738823210..c1188e24177001b6e89b11882f85651e6b0f4af5 100755 (executable)
@@ -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':