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

Unified Diff: appengine/findit/handlers/help_triage.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/help_triage.py
diff --git a/appengine/findit/handlers/help_triage.py b/appengine/findit/handlers/help_triage.py
index a950ea9c592c129906e4a17c5e457af0870fa55e..03efb742d448cdf751592561a86b0662e971cd40 100644
--- a/appengine/findit/handlers/help_triage.py
+++ b/appengine/findit/handlers/help_triage.py
@@ -39,7 +39,7 @@ def _AllFailedStepsPassed(passed_steps, current_failed_steps):
def GetPossibleRevertInfoFromRevision(revision):
"""Parse message to get information of reverting and reverted cls."""
git_repo = GitilesRepository(
- 'https://chromium.googlesource.com/chromium/src.git', HttpClient())
+ HttpClient(), 'https://chromium.googlesource.com/chromium/src.git')
change_log = git_repo.GetChangeLog(revision)
if not change_log: # pragma: no cover
return {}
« no previous file with comments | « appengine/findit/handlers/crash/crash_handler.py ('k') | appengine/findit/lib/gitiles/gitiles_repository.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698