summaryrefslogtreecommitdiffstats
path: root/test/CacheDir
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-12-22 15:44:29 (GMT)
committerMats Wichmann <mats@linux.com>2019-12-23 16:52:35 (GMT)
commita5359e3f10a6bcdb5d9667c95c40ddd890b551e8 (patch)
treedd587ca78a6d4542c6bd968e4590b6671464d39d /test/CacheDir
parent5a864bae1380155997f4041d607e4abcf74652ca (diff)
downloadSCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.zip
SCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.tar.gz
SCons-a5359e3f10a6bcdb5d9667c95c40ddd890b551e8.tar.bz2
syntax fixups suggested by PyCharm
Drop unneeded parens. Drop trailing semicolons. Triple double-quote docstrings. Regexes drop unneeded escapes. Spaces around parens, braces: remove/add. Some one-tuples get their missing closing comma. A couple of sets use set init syntax {foo} instead of set([iter]) now. And a fiddle in Node to reduce lookup time on md5 signature functions (came about because of a line-too-long issue, initially) Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/CacheDir')
-rwxr-xr-xtest/CacheDir/readonly-cache.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CacheDir/readonly-cache.py b/test/CacheDir/readonly-cache.py
index 6520106..63cfd22 100755
--- a/test/CacheDir/readonly-cache.py
+++ b/test/CacheDir/readonly-cache.py
@@ -64,11 +64,11 @@ if time1 <= time0:
test.unlink('file.out')
-for root, dirs, files in os.walk("cache",topdown=False):
- for file in files:
- os.chmod(os.path.join(root,file),0o444)
- for dir in dirs:
- os.chmod(os.path.join(root,dir),0o555)
+for root, dirs, files in os.walk("cache", topdown=False):
+ for file in files:
+ os.chmod(os.path.join(root,file), 0o444)
+ for dir in dirs:
+ os.chmod(os.path.join(root,dir), 0o555)
test.run(arguments = '--debug=explain --cache-debug=- .')