[ https://issues.apache.org/jira/browse/SERF-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Branko Čibej closed SERF-187. ----------------------------- Assignee: (was: Bert Huijben) > calling print as a statement causes a SyntaxError if SCons v.3 is installed > --------------------------------------------------------------------------- > > Key: SERF-187 > URL: https://issues.apache.org/jira/browse/SERF-187 > Project: serf > Issue Type: Bug > Affects Versions: serf-1.3.9 > Environment: Open embedded linux > Reporter: Jose Lamego > Priority: Major > Fix For: serf-trunk > > Attachments: > 0001-fixing-print-statement-to-be-compatible-with-py3.patch > > > Scons version 3 calls print as a function due to the use of "import _from > __future__ import print_function", so a SyntaxError is thrown when print is > called as a statement in SConstruct if said SCons version is installed. > In the attached patch, I'm proposing modifying the print syntax to be > compatible with both python2 and python3. -- This message was sent by Atlassian Jira (v8.20.10#820010)