Skip to content

Commit a551c23

Browse files
authored
Merge pull request #473 from sandrotosi/patch-1
port doc/make.py to py3k
2 parents 5f6a39f + d561d8d commit a551c23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/make.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python
2+
from __future__ import print_function
23
import fileinput
34
import glob
45
import os
@@ -25,7 +26,7 @@ def latex():
2526

2627
os.chdir('../..')
2728
else:
28-
print 'latex build has not been tested on windows'
29+
print('latex build has not been tested on windows')
2930

3031
def clean():
3132
shutil.rmtree('build')
@@ -48,7 +49,7 @@ def all():
4849
func = funcd.get(arg)
4950
if func is None:
5051
raise SystemExit('Do not know how to handle %s; valid args are'%(
51-
arg, funcd.keys()))
52+
arg, list(funcd.keys())))
5253
func()
5354
else:
5455
all()

0 commit comments

Comments
 (0)