Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53276 - sandbox-branches/bhy/py3k/tools/build/v2/tools
From: divinekid_at_[hidden]
Date: 2009-05-26 05:44:48


Author: bhy
Date: 2009-05-26 05:44:47 EDT (Tue, 26 May 2009)
New Revision: 53276
URL: http://svn.boost.org/trac/boost/changeset/53276

Log:
add brace around a Python print called in jam script since print become a function in py3k
Text files modified:
   sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam
==============================================================================
--- sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam (original)
+++ sandbox-branches/bhy/py3k/tools/build/v2/tools/python.jam 2009-05-26 05:44:47 EDT (Tue, 26 May 2009)
@@ -486,7 +486,7 @@
             python-cmd = \"$(python-cmd)\" ;
         }
         local full-cmd =
- $(python-cmd)" -c \"from sys import *; print '"$(format:J=\\n)"' % ("$(exprs:J=,)")\"" ;
+ $(python-cmd)" -c \"from sys import *; print('"$(format:J=\\n)"' % ("$(exprs:J=,)"))\"" ;
 
         local output = [ shell-cmd $(full-cmd) ] ;
         if $(output)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk