Skip to content

Commit 0ddcd71

Browse files
authored
python3 fix
1 parent 56ad79d commit 0ddcd71

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
@@ -140,7 +140,7 @@ See the SageTeX documentation for more details.""" % sys.argv[0])
140140
141141
try:
142142
opts, args = getopt.getopt(sys.argv[1:], 'ho', ['help', 'overwrite'])
143-
except getopt.GetoptError, err:
143+
except getopt.GetoptError as err:
144144
print(str(err))
145145
usage()
146146
sys.exit(2)

0 commit comments

Comments
 (0)