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

Unified Diff: chrome/common/extensions/docs/server2/patch_servlet.py

Issue 575613003: Docserver: Gitiles auth and cron refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: chrome/common/extensions/docs/server2/patch_servlet.py
diff --git a/chrome/common/extensions/docs/server2/patch_servlet.py b/chrome/common/extensions/docs/server2/patch_servlet.py
index 93f0c3b90b1892a43a7421ad150300e2c9ad4cab..7b6c6f1c43035bc16100019be0469ec3a497010b 100644
--- a/chrome/common/extensions/docs/server2/patch_servlet.py
+++ b/chrome/common/extensions/docs/server2/patch_servlet.py
@@ -29,8 +29,8 @@ class _PatchServletDelegate(RenderServlet.Delegate):
def CreateServerInstance(self):
# start_empty=False because a patch can rely on files that are already in
- # SVN repository but not yet pulled into data store by cron jobs (a typical
- # example is to add documentation for an existing API).
+ # the Git repository but not yet pulled into data store by cron jobs (a
+ # typical example is to add documentation for an existing API).
object_store_creator = ObjectStoreCreator(start_empty=False)
unpatched_file_system = self._delegate.CreateHostFileSystemProvider(
@@ -71,7 +71,7 @@ class _PatchServletDelegate(RenderServlet.Delegate):
# to be re-run to pull in the new configuration.
_, _, modified = rietveld_patcher.GetPatchedFiles()
if CONTENT_PROVIDERS in modified:
- server_instance.content_providers.Cron().Get()
+ server_instance.content_providers.Refresh().Get()
return server_instance

Powered by Google App Engine
This is Rietveld 408576698