Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2849)

Unified Diff: appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py

Issue 2369333002: [Findit] Capture versionized metadata for master_flake_analysis (Closed)
Patch Set: Fixing nits Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py
diff --git a/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py b/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py
index edb45a674eb12535536c94fadcd2cd08eb675d62..e493145670b4608e36b2180bb4624f6f9cf71dc5 100644
--- a/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py
+++ b/appengine/findit/waterfall/process_base_swarming_task_result_pipeline.py
@@ -2,7 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from collections import defaultdict
import datetime
import logging
import time
@@ -56,7 +55,7 @@ class ProcessBaseSwarmingTaskResultPipeline(BasePipeline):
# Arguments number differs from overridden method - pylint: disable=W0221
def run(self, master_name, builder_name, build_number,
- step_name, task_id, *args): # pragma: no cover.
+ step_name, task_id, *args): # pragma: no cover.
"""
Args:
master_name (str): The master name.
@@ -130,7 +129,7 @@ class ProcessBaseSwarmingTaskResultPipeline(BasePipeline):
task.put()
logging.error('Swarming task timed out after %d hours.' % timeout_hours)
break # Stops the loop and return.
- # Update swarming task metadate.
+ # Update swarming task metadata.
task = self._GetSwarmingTask(*call_args)
task.created_time = self._ConvertDateTime(data.get('created_ts'))
task.started_time = self._ConvertDateTime(data.get('started_ts'))

Powered by Google App Engine
This is Rietveld 408576698