summaryrefslogtreecommitdiffstats
path: root/media/tools
diff options
context:
space:
mode:
authorimasaki@google.com <imasaki@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-27 19:51:15 +0000
committerimasaki@google.com <imasaki@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-27 19:51:15 +0000
commitb7a5fc6aded438b56fc6dfd6b1b3895865b9407d (patch)
treec92f29cc96b96b4e4fc9e546d856e2e222a78a42 /media/tools
parente5624f0b84c761a2a88fc30dd6d95b71a5b44ad6 (diff)
downloadchromium_src-b7a5fc6aded438b56fc6dfd6b1b3895865b9407d.zip
chromium_src-b7a5fc6aded438b56fc6dfd6b1b3895865b9407d.tar.gz
chromium_src-b7a5fc6aded438b56fc6dfd6b1b3895865b9407d.tar.bz2
Fix the bug caused by refactoring in the layout test analyzer.
Review URL: http://codereview.chromium.org/8060018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/tools')
-rw-r--r--media/tools/layout_tests/layouttest_analyzer.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/media/tools/layout_tests/layouttest_analyzer.py b/media/tools/layout_tests/layouttest_analyzer.py
index 2c97e02..97fa4ee 100644
--- a/media/tools/layout_tests/layouttest_analyzer.py
+++ b/media/tools/layout_tests/layouttest_analyzer.py
@@ -144,8 +144,7 @@ def GetCurrentAndPreviousResults(debug, test_group_file_location,
if not os.path.exists(test_group_file_location):
print ('Warning: CSV file (%s) does not exist. So it is ignored and '
'%s is used for obtaining test names') % (
- options.test_group_file_location, options.test_group_name)
- test_group_name = options.test_group_name
+ test_group_file_location, test_group_name)
if not test_group_name.endswith('/'):
test_group_name += '/'
parent_location_list = [test_group_name]
@@ -191,7 +190,7 @@ def ReadEmailInformation(bug_annotation_file_location,
file_object = open(bug_annotation_file_location)
except IOError:
print 'cannot open annotation file %s. Skipping.' % (
- options.bug_annotation_file_location)
+ bug_annotation_file_location)
else:
data = csv.reader(file_object)
for row in data: