diff options
author | William Deegan <bill@baddogconsulting.com> | 2020-05-22 11:19:40 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2020-05-22 11:19:40 -0700 |
commit | 45df0d7e82d792f8f66bfe41d9123ea0b9c77f74 (patch) | |
tree | b8533e4bc9bb30fd1e87935bb4ac790f7511bdf2 /test/fixture | |
parent | 6878db720dbcf12e50208917268a47326452735d (diff) | |
download | scons-git-45df0d7e82d792f8f66bfe41d9123ea0b9c77f74.tar.gz |
resolve sider complaints in test fixtures
Diffstat (limited to 'test/fixture')
-rw-r--r-- | test/fixture/mygcc.py | 6 | ||||
-rw-r--r-- | test/fixture/mylink.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/fixture/mygcc.py b/test/fixture/mygcc.py index d7018835a..ceb10e566 100644 --- a/test/fixture/mygcc.py +++ b/test/fixture/mygcc.py @@ -12,7 +12,7 @@ for opt, arg in opts: f.write(compiler + "\n") with open(out, 'w') as ofp, open(args[0], 'r') as ifp: - for l in ifp.readlines(): - if l[:clen] != '#' + compiler: - ofp.write(l) + for line in ifp.readlines(): + if line[:clen] != '#' + compiler: + ofp.write(line) sys.exit(0) diff --git a/test/fixture/mylink.py b/test/fixture/mylink.py index 85646a4f5..fe4af580a 100644 --- a/test/fixture/mylink.py +++ b/test/fixture/mylink.py @@ -9,7 +9,7 @@ for opt, arg in opts: with open(out, 'w') as ofp: for f in args: with open(f, 'r') as ifp: - for l in ifp.readlines(): - if l[:5] != '#link': - ofp.write(l) + for line in ifp.readlines(): + if line[:5] != '#link': + ofp.write(line) sys.exit(0) |