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

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

Issue 1866883002: [Findit] A huge refactoring and some bug fixing. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix nit. Created 4 years, 8 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
« no previous file with comments | « appengine/findit/waterfall/test/wf_testcase.py ('k') | appengine/findit/waterfall/try_job_pipeline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/waterfall/trigger_swarming_task_pipeline.py
diff --git a/appengine/findit/waterfall/trigger_swarming_task_pipeline.py b/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
index 49bb66f2ec97871448c43d6c90228bd7cf81971f..2c098d4c4c67011812fba3ba81f77c89275b1c0f 100644
--- a/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
+++ b/appengine/findit/waterfall/trigger_swarming_task_pipeline.py
@@ -10,7 +10,7 @@ import time
from google.appengine.ext import ndb
from common.http_client_appengine import HttpClientAppengine as HttpClient
-from model import wf_analysis_status
+from model import analysis_status
from model.wf_swarming_task import WfSwarmingTask
from pipeline_wrapper import BasePipeline
from waterfall import swarming_util
@@ -75,7 +75,7 @@ def _NeedANewSwarmingTask(master_name, builder_name, build_number, step_name):
if not swarming_task:
swarming_task = WfSwarmingTask.Create(
master_name, builder_name, build_number, step_name)
- swarming_task.status = wf_analysis_status.PENDING
+ swarming_task.status = analysis_status.PENDING
swarming_task.put()
return True
else:
« no previous file with comments | « appengine/findit/waterfall/test/wf_testcase.py ('k') | appengine/findit/waterfall/try_job_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698