summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/checkappend.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-29 13:08:44 (GMT)
committerGuido van Rossum <guido@python.org>2000-02-29 13:08:44 (GMT)
commit1b6d21bb3e931cffd30cfa9897405d282d4545e8 (patch)
tree24c1a62e18ad3e50dede136b381aa30c06720849 /Tools/scripts/checkappend.py
parentaacf5ce1ad93189ab9cc03ae6b5fbc2a16e93958 (diff)
downloadcpython-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-xTools/scripts/checkappend.py2
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':