Brad Bishop | bba38f3 | 2018-08-23 16:11:46 +0800 | [diff] [blame] | 1 | From 99f6e1b0d68281b63218d6adfe68cd9e331ac5be Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 3 Sep 2018 10:50:08 -0700 |
| 4 | Subject: [PATCH] Fix syntax of a print() in the scons file to unbreak building |
| 5 | with most recent scons version. |
| 6 | |
| 7 | * SConstruct Use Python 3.0 valid syntax to make Scons 3.0.0 happy on both python |
| 8 | 3.0 and 2.7. |
| 9 | |
| 10 | Upstream-Status: Backport |
| 11 | [https://svn.apache.org/viewvc/serf/trunk/SConstruct?r1=1809132&r2=1811083&diff_format=h] |
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 13 | --- |
| 14 | SConstruct | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/SConstruct b/SConstruct |
| 18 | index 1670459..18a45fa 100644 |
| 19 | --- a/SConstruct |
| 20 | +++ b/SConstruct |
| 21 | @@ -184,7 +184,7 @@ CALLOUT_OKAY = not (env.GetOption('clean') or env.GetOption('help')) |
| 22 | |
| 23 | unknown = opts.UnknownVariables() |
| 24 | if unknown: |
| 25 | - print 'Warning: Used unknown variables:', ', '.join(unknown.keys()) |
| 26 | + print('Warning: Used unknown variables:', ', '.join(unknown.keys())) |
| 27 | |
| 28 | apr = str(env['APR']) |
| 29 | apu = str(env['APU']) |