diff options
author | Yuheng Long <yuhenglong@google.com> | 2013-07-11 07:49:01 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-07-12 15:52:30 -0700 |
commit | 26ec76c8a9d4f5dd023513d2772fa6cd4b6749ea (patch) | |
tree | b87fb33899111b369c1fd26b052ffaeaf1776fa0 /bestflags/pipeline_process.py | |
parent | 49358b75c25a44760e884245440dc96e55812d04 (diff) | |
download | toolchain-utils-26ec76c8a9d4f5dd023513d2772fa6cd4b6749ea.tar.gz |
Rename the methods and use the dummy parameters.
Refactor methods names and substitute unused variables with dummy variables.
BUG=None
TEST=unit testing for the pipeline stage and pipeline workers.
Change-Id: I237d893201853d8620ff886c8fb9012c38b83805
Reviewed-on: https://gerrit-int.chromium.org/40865
Commit-Queue: Yuheng Long <yuhenglong@google.com>
Tested-by: Yuheng Long <yuhenglong@google.com>
Reviewed-by: Simon Que <sque@google.com>
Diffstat (limited to 'bestflags/pipeline_process.py')
-rw-r--r-- | bestflags/pipeline_process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bestflags/pipeline_process.py b/bestflags/pipeline_process.py index c5a7b8bb..0999c28b 100644 --- a/bestflags/pipeline_process.py +++ b/bestflags/pipeline_process.py @@ -101,7 +101,7 @@ class PipelineProcess(multiprocessing.Process): self._result_queue.put(POISONPILL) break - task_key = task.get_key(self._stage) + task_key = task.GetKey(self._stage) if task_key in mycache: # The task has been encountered before. It will be sent to the helper # module for further processing. |