summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-05-28 20:27:21 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-05-28 20:27:21 (GMT)
commit0306aa52c15a5196afbefe57023c0062aa7d1c3f (patch)
tree393e289af70994746f374a6ab641a244ba72e381
parent4b86a88ab434775623796e0d799429015707445b (diff)
downloadSCons-0306aa52c15a5196afbefe57023c0062aa7d1c3f.zip
SCons-0306aa52c15a5196afbefe57023c0062aa7d1c3f.tar.gz
SCons-0306aa52c15a5196afbefe57023c0062aa7d1c3f.tar.bz2
PEP8 fixes
-rw-r--r--src/engine/SCons/Tool/textfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/textfile.py b/src/engine/SCons/Tool/textfile.py
index 1e30d93..9e2327a 100644
--- a/src/engine/SCons/Tool/textfile.py
+++ b/src/engine/SCons/Tool/textfile.py
@@ -73,8 +73,8 @@ def _do_subst(node, subs):
"""
contents = node.get_text_contents()
if subs:
- for (k, v) in subs:
- contents = re.sub(k, v, contents)
+ for (k, val) in subs:
+ contents = re.sub(k, val, contents)
if 'b' in TEXTFILE_FILE_WRITE_MODE:
try: