Commit 16aef076 authored by Guido van Rossum's avatar Guido van Rossum

Correct type error in getopt.error handling code.

parent 4face2a6
......@@ -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':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment