mirror of https://github.com/CGAL/cgal
Use Python 2.x syntax
No need to require Python3 just for a print to a file.
This commit is contained in:
parent
c5ee6400c1
commit
cad3f03fe7
|
|
@ -33,7 +33,7 @@ def write_out_html(d, fn):
|
|||
f = open(fn, 'w')
|
||||
# this is the normal doxygen doctype, which is thrown away by pyquery
|
||||
f.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n')
|
||||
print(d, file=f)
|
||||
print >>f, d
|
||||
f.close()
|
||||
|
||||
# remove duplicate files
|
||||
|
|
|
|||
Loading…
Reference in New Issue