Chromium Code Reviews| Index: scripts/slave/goma_utils.py |
| diff --git a/scripts/slave/goma_utils.py b/scripts/slave/goma_utils.py |
| index 1485300d2419c98feea00853759c1d97ec89cc95..901f2420d13f3e731aec0d74b43aca875550d877 100644 |
| --- a/scripts/slave/goma_utils.py |
| +++ b/scripts/slave/goma_utils.py |
| @@ -41,9 +41,9 @@ def GetShortHostname(): |
| return socket.gethostname().split('.')[0].lower() |
| -def GetGomaTmpDirectory(): |
| +def GetGomaLogDirectory(): |
| """Get goma's temp directory.""" |
|
ukai
2016/08/16 07:21:56
fix doc string as well
tikuta
2016/08/16 07:25:05
Done.
|
| - candidates = ['GOMA_TMP_DIR', 'TEST_TMPDIR', 'TMPDIR', 'TMP'] |
| + candidates = ['TEST_TMPDIR', 'TMPDIR', 'TMP'] |
| for candidate in candidates: |
| value = os.environ.get(candidate) |
| if value and os.path.isdir(value): |
| @@ -60,7 +60,7 @@ def GetLatestGlogInfoFile(pattern): |
| Returns: |
| the latest glog INFO filename in fullpath. |
| """ |
| - dirname = GetGomaTmpDirectory() |
| + dirname = GetGomaLogDirectory() |
| info_pattern = os.path.join(dirname, '%s.*.INFO.*' % pattern) |
| candidates = glob.glob(info_pattern) |
| if not candidates: |