summaryrefslogtreecommitdiffstats
path: root/tools/purify
diff options
context:
space:
mode:
authormad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 18:32:01 +0000
committermad@google.com <mad@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 18:32:01 +0000
commitbe8d1790c1e2bfbc2d21004415ea0cfe36e76eb2 (patch)
treed2f0d148b6491f2c2df8508c2ded8f74abc6e563 /tools/purify
parent9d0e4b33204e3a7d18719778324fb08e545feaf9 (diff)
downloadchromium_src-be8d1790c1e2bfbc2d21004415ea0cfe36e76eb2.zip
chromium_src-be8d1790c1e2bfbc2d21004415ea0cfe36e76eb2.tar.gz
chromium_src-be8d1790c1e2bfbc2d21004415ea0cfe36e76eb2.tar.bz2
Small fix for cases where the data or report dirs are not specified.
BUG=none TEST=We should run those scripts with and without the optional arguments :-) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/purify')
-rw-r--r--tools/purify/purify_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/purify/purify_test.py b/tools/purify/purify_test.py
index ae74738..ff60583 100644
--- a/tools/purify/purify_test.py
+++ b/tools/purify/purify_test.py
@@ -64,6 +64,7 @@ class Purify(common.Rational):
help="path where report files are saved")
def ParseArgv(self):
+ script_dir = google.path_utils.ScriptDir()
if common.Rational.ParseArgv(self):
if self._options.exe:
self._exe = self._options.exe;