summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-29 21:32:50 +0000
committerdpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-29 21:32:50 +0000
commitb321898e91aa5067c98f154a494aa6fae9b18b2c (patch)
treea64c5498d9d1616163a8198d52b2b0fa4b7ab800 /webkit
parent410e1cf5baf2c4dd1c7eac1834642443e65ee385 (diff)
downloadchromium_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-xwebkit/tools/layout_tests/run_webkit_tests.py6
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