Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79787 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-28 10:18:22


Author: jurko
Date: 2012-07-28 10:18:21 EDT (Sat, 28 Jul 2012)
New Revision: 79787
URL: http://svn.boost.org/trac/boost/changeset/79787

Log:
Internal Boost Build testing system cleanup - stopped using the deprecated indexed stat structure access and replaced it with respective member access.
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 2012-07-28 10:18:21 EDT (Sat, 28 Jul 2012)
@@ -330,7 +330,7 @@
         def make_writable(unused, dir, entries):
             for e in entries:
                 name = os.path.join(dir, e)
- os.chmod(name, os.stat(name)[0] | 0222)
+ os.chmod(name, os.stat(name).st_mode | 0222)
         os.path.walk(".", make_writable, None)
 
     def write(self, file, content, wait=True):


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