Use Python 2.x syntax

No need to require Python3 just for a print to a file.
This commit is contained in:
Laurent Rineau 2012-10-03 13:10:47 +00:00
parent c5ee6400c1
commit cad3f03fe7
1 changed files with 1 additions and 1 deletions

View File

@ -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