diff options
author | Edoardo Bezzeccheri <edoardo.bezzeccheri@ch.abb.com> | 2019-10-09 08:37:43 (GMT) |
---|---|---|
committer | Edoardo Bezzeccheri <edoardo.bezzeccheri@ch.abb.com> | 2019-10-09 08:37:43 (GMT) |
commit | 2a72809ab9d83d999caf6a9f7b4618dbd00920f9 (patch) | |
tree | 1e77556289f71aeed757edc4781095c84798883d /test/option | |
parent | dee0266dd236dd1aa1ff1298f45c99d034d565c9 (diff) | |
download | SCons-2a72809ab9d83d999caf6a9f7b4618dbd00920f9.zip SCons-2a72809ab9d83d999caf6a9f7b4618dbd00920f9.tar.gz SCons-2a72809ab9d83d999caf6a9f7b4618dbd00920f9.tar.bz2 |
Added debug option "timestamp", fix shadowing internal fnc
Diffstat (limited to 'test/option')
-rw-r--r-- | test/option/debug-timestamp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option/debug-timestamp.py b/test/option/debug-timestamp.py index 3e7c682..458974e 100644 --- a/test/option/debug-timestamp.py +++ b/test/option/debug-timestamp.py @@ -112,9 +112,9 @@ expected_total_time = complete_time - overhead def get_times_and_targets(pattern): targets = [] times = [] - for target,time in re.findall(pattern, test.stdout()): + for target, target_time in re.findall(pattern, test.stdout()): targets.append(target) - times.append(float(time)) + times.append(float(target_time)) return targets, times duration_targets, durations = get_times_and_targets(r'Command execution time: (.*): (\d+\.\d+) seconds') |