diff options
author | dpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 21:32:50 +0000 |
---|---|---|
committer | dpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 21:32:50 +0000 |
commit | b321898e91aa5067c98f154a494aa6fae9b18b2c (patch) | |
tree | a64c5498d9d1616163a8198d52b2b0fa4b7ab800 /webkit | |
parent | 410e1cf5baf2c4dd1c7eac1834642443e65ee385 (diff) | |
download | chromium_src-b321898e91aa5067c98f154a494aa6fae9b18b2c.zip chromium_src-b321898e91aa5067c98f154a494aa6fae9b18b2c.tar.gz chromium_src-b321898e91aa5067c98f154a494aa6fae9b18b2c.tar.bz2 |
Rename a variable to avoid shadowing.
BUG=none
TEST=none
R=tony@chromium.org
Review URL: http://codereview.chromium.org/341040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30517 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rwxr-xr-x | webkit/tools/layout_tests/run_webkit_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py index 5231b2f..3ee2209 100755 --- a/webkit/tools/layout_tests/run_webkit_tests.py +++ b/webkit/tools/layout_tests/run_webkit_tests.py @@ -790,8 +790,8 @@ class TestRunner: else: dictionary[key] = 1 - for test, failures in failures.iteritems(): - for failure in failures: + for test, failure_types in failures.iteritems(): + for failure_type in failure_types: # TODO(ojan): Now that we have IMAGE+TEXT, IMAGE and TEXT, # we can avoid adding multiple failures per test since there should # be a unique type of failure for each test. This would make the @@ -806,7 +806,7 @@ class TestRunner: count_group = fixable_counts failure_group = fixable_failures - AddFailure(count_group, failure.__class__) + AddFailure(count_group, failure_type.__class__) failure_group.add(test) # Here and below, use the prechuncked expectations object for numbers of |