2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-12 12:02:24 +00:00

Internal Boost Build testing system cleanup - stopped using the deprecated indexed stat structure access and replaced it with respective member access.

[SVN r79787]
This commit is contained in:
Jurko Gospodnetić
2012-07-28 14:18:21 +00:00
parent e68787e3e8
commit 7ea2636ad6

View File

@@ -330,7 +330,7 @@ class Tester(TestCmd.TestCmd):
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):