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

Side by Side Diff: appengine/findit_mock/libs/gitiles/git.py

Issue 2447253002: [Findit & Predator] Code reorg of Findit. (Closed)
Patch Set: Clean up. 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 unified diff | Download patch
OLDNEW
(Empty)
1 from libs.cache import cache
2
3 class Git(object):
4 def __init__(self, http_client):
5 self.http_client = http_client
6
7 @cache.Cached()
8 def GetChangeLog(self):
9 status_code, content = self.http_client.Get('url')
10 assert status_code == 200
11 return content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698