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

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

Issue 2611723002: Moved http_client_appengine.py from ./common to ./gae_libs/http (Closed)
Patch Set: adding missing __init__.py file Created 3 years, 12 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/pull_changelog_pipeline.py ('k') | appengine/findit/waterfall/swarming_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/waterfall/send_notification_for_culprit_pipeline.py
diff --git a/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py b/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py
index 5f5ed19b6706f496f3f2568e1dc3d15fc2aa87a3..e19b84323ea9a7e49a7cdc8f7de0dbbb87523d08 100644
--- a/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py
+++ b/appengine/findit/waterfall/send_notification_for_culprit_pipeline.py
@@ -8,9 +8,9 @@ import textwrap
from google.appengine.ext import ndb
-from common.http_client_appengine import HttpClientAppengine as HttpClient
from common.pipeline_wrapper import BasePipeline
from gae_libs.gitiles.cached_gitiles_repository import CachedGitilesRepository
+from gae_libs.http.http_client_appengine import HttpClientAppengine
from infra_api_clients.codereview.rietveld import Rietveld
from libs import time_util
from model import analysis_status as status
@@ -93,7 +93,8 @@ def _GetCulpritInfo(repo_name, revision):
# TODO(stgao): get repo url at runtime based on the given repo name.
# unused arg - pylint: disable=W0612,W0613
repo = CachedGitilesRepository(
- HttpClient(), 'https://chromium.googlesource.com/chromium/src.git')
+ HttpClientAppengine(),
+ 'https://chromium.googlesource.com/chromium/src.git')
change_log = repo.GetChangeLog(revision)
return change_log.commit_position, change_log.code_review_url
« no previous file with comments | « appengine/findit/waterfall/pull_changelog_pipeline.py ('k') | appengine/findit/waterfall/swarming_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698