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

Unified Diff: appengine/findit/handlers/crash/crash_handler.py

Issue 2524633002: [Culprit-Finder] Refactor GitilesRepostory to make http_client required argument. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/handlers/crash/crash_handler.py
diff --git a/appengine/findit/handlers/crash/crash_handler.py b/appengine/findit/handlers/crash/crash_handler.py
index 70d14fce681645f9cb09ee1ddfa60724d58112dd..939a8b730dff08301eb5c364f8fefa8c7f30dae7 100644
--- a/appengine/findit/handlers/crash/crash_handler.py
+++ b/appengine/findit/handlers/crash/crash_handler.py
@@ -129,7 +129,7 @@ def ScheduleNewAnalysis(crash_data):
True if we started a new pipeline; False otherwise.
"""
client_id = crash_data['client_id']
- repository = GitilesRepository(http_client=HttpClientAppengine())
+ repository = GitilesRepository(HttpClientAppengine())
# N.B., must call FinditForClientID indirectly, for mock testing.
findit_client = crash_pipeline.FinditForClientID(client_id, repository)
« no previous file with comments | « appengine/findit/crash/test/findit_for_chromecrash_test.py ('k') | appengine/findit/handlers/help_triage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698