serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Lamego (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SERF-187) SConstruct: calling print as a statement causes a SynatxError if SCons v. 3.0.0 is installed
Date Wed, 18 Oct 2017 16:26:00 GMT
Jose Lamego created SERF-187:
--------------------------------

             Summary: SConstruct: calling print as a statement causes a SynatxError if SCons
v. 3.0.0 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
         Attachments: 0001-SConstruct-call-print-as-a-function-if-SyntaxError.patch

Scons version 3.0.0 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 catching the error and calling print as a function instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message