diff options
author | Steven Knight <knight@baldmt.com> | 2001-12-29 08:04:42 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-12-29 08:04:42 (GMT) |
commit | 9198503d21ac99352629e8d8dfb7c14b11f34401 (patch) | |
tree | f43d4904a396cb3a43f0832ff3a0c912e574e0d5 /etc/TestCmd.py | |
parent | c4285a0fcb42c8b8e84126ed5cb81ae745b98a8b (diff) | |
download | SCons-9198503d21ac99352629e8d8dfb7c14b11f34401.zip SCons-9198503d21ac99352629e8d8dfb7c14b11f34401.tar.gz SCons-9198503d21ac99352629e8d8dfb7c14b11f34401.tar.bz2 |
Add duplicate (defaults to true) option to BuildDir()
Diffstat (limited to 'etc/TestCmd.py')
-rw-r--r-- | etc/TestCmd.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/TestCmd.py b/etc/TestCmd.py index d09d35d..8df039e 100644 --- a/etc/TestCmd.py +++ b/etc/TestCmd.py @@ -564,8 +564,11 @@ class TestCmd: f = _mode_writable else: f = _mode_non_writable - os.path.walk(top, _walk_chmod, f) - + try: + os.path.walk(top, _walk_chmod, f) + except: + pass # ignore any problems changing modes + def write(self, file, content, mode = 'wb'): """Writes the specified content text (second argument) to the specified file name (first argument). The file name may be |