From 7ea2636ad6d7f581d94a0804abc147ce9e82b27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Sat, 28 Jul 2012 14:18:21 +0000 Subject: [PATCH] Internal Boost Build testing system cleanup - stopped using the deprecated indexed stat structure access and replaced it with respective member access. [SVN r79787] --- test/BoostBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/BoostBuild.py b/test/BoostBuild.py index 8ce05066e..98ce92948 100644 --- a/test/BoostBuild.py +++ b/test/BoostBuild.py @@ -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):