Skip to content

port doc/make.py to py3k #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions doc/make.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python
from __future__ import print_function
import fileinput
import glob
import os
Expand All @@ -25,7 +26,7 @@ def latex():

os.chdir('../..')
else:
print 'latex build has not been tested on windows'
print('latex build has not been tested on windows')

def clean():
shutil.rmtree('build')
Expand All @@ -48,7 +49,7 @@ def all():
func = funcd.get(arg)
if func is None:
raise SystemExit('Do not know how to handle %s; valid args are'%(
arg, funcd.keys()))
arg, list(funcd.keys())))
func()
else:
all()