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

Unified Diff: appengine/findit/waterfall/flake/recursive_flake_pipeline.py

Issue 2538373003: [Culprit-Finder] Merge lib/ to libs/. (Closed)
Patch Set: . Created 4 years 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/flake/recursive_flake_pipeline.py
diff --git a/appengine/findit/waterfall/flake/recursive_flake_pipeline.py b/appengine/findit/waterfall/flake/recursive_flake_pipeline.py
index af12a063e26b7c9a115d3302c8a7cd27d931eff7..f4b56482f08208323abaa7a4e84012ebaa4a574c 100644
--- a/appengine/findit/waterfall/flake/recursive_flake_pipeline.py
+++ b/appengine/findit/waterfall/flake/recursive_flake_pipeline.py
@@ -10,7 +10,7 @@ import textwrap
from common import appengine_util
from common import constants
from common.pipeline_wrapper import BasePipeline
-from lib import time_util
+from libs import time_util
from model import analysis_status
from model import result_status
from model.flake.flake_swarming_task import FlakeSwarmingTask
@@ -463,7 +463,9 @@ class NextBuildNumberPipeline(BasePipeline):
manually_triggered=manually_triggered,
use_nearby_neighbor=use_nearby_neighbor,
step_size=(run_build_number - next_run))
- pipeline_job.target = appengine_util.GetTargetNameForModule(
- constants.WATERFALL_BACKEND)
+ # Disable attribute 'target' defined outside __init__ pylint warning,
+ # because pipeline generates its own __init__ based on run function.
+ pipeline_job.target = ( # pylint: disable=W0201
+ appengine_util.GetTargetNameForModule(constants.WATERFALL_BACKEND))
pipeline_job.StartOffPSTPeakHours(
queue_name=self.queue_name or constants.DEFAULT_QUEUE)
« no previous file with comments | « appengine/findit/waterfall/flake/initialize_flake_pipeline.py ('k') | appengine/findit/waterfall/flake/step_mapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698