From b7a5fc6aded438b56fc6dfd6b1b3895865b9407d Mon Sep 17 00:00:00 2001
From: "imasaki@google.com"
 <imasaki@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Tue, 27 Sep 2011 19:51:15 +0000
Subject: 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
---
 media/tools/layout_tests/layouttest_analyzer.py | 5 ++---
 1 file 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:
-- 
cgit v1.1