Skip to content

Commit 7024f5f

Browse files
authored
another py3 fix
1 parent 0ddcd71 commit 7024f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts.dtx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ See the SageTeX documentation for more details.""" % sys.argv[0])
216216
217217
try:
218218
opts, args = getopt.getopt(sys.argv[1:], 'ho', ['help', 'overwrite'])
219-
except getopt.GetoptError, err:
219+
except getopt.GetoptError as err:
220220
print(str(err))
221221
usage()
222222
sys.exit(2)

0 commit comments

Comments
 (0)