summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-10-15 01:01:22 +0200
committerCarl Hetherington <cth@carlh.net>2019-10-15 01:01:22 +0200
commit2b9ba5022f388c1c415f97a2ba8738c054ea7f92 (patch)
tree9b179b36510b993d716322db4135693ff5e03e23
parentee83121daa73d229c4cf3aeb6f83d5b4d13caeca (diff)
Fix python 2 print() statement.
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index c653369ec..c7245c47b 100644
--- a/wscript
+++ b/wscript
@@ -595,8 +595,8 @@ def dist(ctx):
r = git_revision()
if r is not None:
f = open('.git_revision', 'w')
- print >>f,r
- f.close()
+ print(r, file=f)
+ f.close()
ctx.excl = """
TODO core *~ src/wx/*~ src/lib/*~ builds/*~ doc/manual/*~ src/tools/*~ *.pyc .waf* build .git