From 2b9ba5022f388c1c415f97a2ba8738c054ea7f92 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 15 Oct 2019 01:01:22 +0200 Subject: [PATCH] Fix python 2 print() statement. --- wscript | 4 ++-- 1 file 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 -- 2.30.2