1From 8c02c2cbc6f07ddaef23e6bf2f6b9a269ed85ff4 Mon Sep 17 00:00:00 2001
2From: Titouan Christophe <titouan.christophe@railnova.eu>
3Date: Tue, 4 Feb 2020 11:59:07 +0100
4Subject: [PATCH] Use print as function call for Python3 compatibility
5
6A similar patch has already been applied upstream, in commit
7ada15125a1cbb3b1718d6eef78512a36ed327fcc, which will therefore be
8available in the next norm release
9
10Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
11---
12 wscript | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/wscript b/wscript
16index 8428899..0fdae96 100644
17--- a/wscript
18+++ b/wscript
19@@ -32,7 +32,7 @@ for line in vfile.readlines():
20     if "#define" == line[0] and "VERSION" == line[1]:
21         VERSION = line[2].strip('"')
22 if VERSION is None:
23-    print "Warning: NORM VERSION not found!?"
24+    print("Warning: NORM VERSION not found!?")
25
26 # So you don't need to do ./waf configure if you are just using the defaults
27 waflib.Configure.autoconfig = True
28--
292.24.1
30