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

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

Issue 14267024: Devserver: have a separate ObjectStore namespace (both memcache and datastore) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove _CheckVersions Created 7 years, 8 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/github_file_system.py
diff --git a/chrome/common/extensions/docs/server2/github_file_system.py b/chrome/common/extensions/docs/server2/github_file_system.py
index adbef9ed6f76cdaa9016d271e20553ae1ceb66d3..65819a983f7e6b0bea626dda031061f11c4953fe 100644
--- a/chrome/common/extensions/docs/server2/github_file_system.py
+++ b/chrome/common/extensions/docs/server2/github_file_system.py
@@ -7,7 +7,7 @@ import logging
import os
import appengine_blobstore as blobstore
-from appengine_wrappers import urlfetch
+from appengine_wrappers import GetAppVersion, urlfetch
from file_system import FileSystem, StatInfo
from future import Future
from object_store_creator import ObjectStoreCreator
@@ -63,7 +63,8 @@ class GithubFileSystem(FileSystem):
"""
def __init__(self, fetcher, blobstore):
self._fetcher = fetcher
- self._stat_object_store = ObjectStoreCreator(GithubFileSystem).Create()
+ self._stat_object_store = (ObjectStoreCreator.SharedFactory(GetAppVersion())
+ .Create(GithubFileSystem).Create())
self._blobstore = blobstore
self._version = None
self._GetZip(self.Stat(ZIP_KEY).version)
« no previous file with comments | « chrome/common/extensions/docs/server2/file_system.py ('k') | chrome/common/extensions/docs/server2/intro_data_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698