From cad3f03fe7108ca5280b0d45a053c03b45eee635 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 3 Oct 2012 13:10:47 +0000 Subject: [PATCH] Use Python 2.x syntax No need to require Python3 just for a print to a file. --- Documentation/conceptify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/conceptify.py b/Documentation/conceptify.py index 6cf06d16200..6286aac86bd 100755 --- a/Documentation/conceptify.py +++ b/Documentation/conceptify.py @@ -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('\n') - print(d, file=f) + print >>f, d f.close() # remove duplicate files