Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-08-26 12:14:46


Author: grafik
Date: 2007-08-26 12:14:44 EDT (Sun, 26 Aug 2007)
New Revision: 38964
URL: http://svn.boost.org/trac/boost/changeset/38964

Log:
Read expected files with universal EOL translation enabled to account for comparing with newline only Python strings.
Text files modified:
   trunk/tools/build/v2/test/BoostBuild.py | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/test/BoostBuild.py
==============================================================================
--- trunk/tools/build/v2/test/BoostBuild.py (original)
+++ trunk/tools/build/v2/test/BoostBuild.py 2007-08-26 12:14:44 EDT (Sun, 26 Aug 2007)
@@ -419,7 +419,7 @@
             if self.toolset:
                 name = string.replace(name, "$toolset", self.toolset+"*")
             name = self.glob_file(name)
- return open(name, "rb").read()
+ return open(name, "rU").read()
         except:
             self.fail_test(1)
             return ''


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