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

Unified Diff: appengine/findit/handlers/help_triage.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: reordering imports Created 4 years, 2 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/handlers/failure_log.py ('k') | appengine/findit/handlers/list_analyses.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/handlers/help_triage.py
diff --git a/appengine/findit/handlers/help_triage.py b/appengine/findit/handlers/help_triage.py
index 99f1e946e0b4dd060585570003dd95953735a355..a950ea9c592c129906e4a17c5e457af0870fa55e 100644
--- a/appengine/findit/handlers/help_triage.py
+++ b/appengine/findit/handlers/help_triage.py
@@ -4,8 +4,8 @@
from common.base_handler import BaseHandler
from common.base_handler import Permission
-from common.git_repository import GitRepository
from common.http_client_appengine import HttpClientAppengine as HttpClient
+from lib.gitiles.gitiles_repository import GitilesRepository
from model.wf_analysis import WfAnalysis
from waterfall import buildbot
from waterfall import build_util
@@ -38,8 +38,8 @@ def _AllFailedStepsPassed(passed_steps, current_failed_steps):
def GetPossibleRevertInfoFromRevision(revision):
"""Parse message to get information of reverting and reverted cls."""
- git_repo = GitRepository('https://chromium.googlesource.com/chromium/src.git',
- HttpClient())
+ git_repo = GitilesRepository(
+ 'https://chromium.googlesource.com/chromium/src.git', HttpClient())
change_log = git_repo.GetChangeLog(revision)
if not change_log: # pragma: no cover
return {}
« no previous file with comments | « appengine/findit/handlers/failure_log.py ('k') | appengine/findit/handlers/list_analyses.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698