Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b6d21b

Browse files
committed
Correct type error in getopt.error handling code.
1 parent aacf5ce commit 1b6d21b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/scripts/checkappend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def main():
5252
try:
5353
opts, args = getopt.getopt(sys.argv[1:], "v")
5454
except getopt.error, msg:
55-
errprint(msg + "\n\n" + __doc__)
55+
errprint(str(msg) + "\n\n" + __doc__)
5656
return
5757
for opt, optarg in opts:
5858
if opt == '-v':

0 commit comments

Comments
 (0)