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/memcache_file_system.py

Issue 10826037: Extensions Docs Server: Fix zipper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/memcache_file_system.py
diff --git a/chrome/common/extensions/docs/server2/memcache_file_system.py b/chrome/common/extensions/docs/server2/memcache_file_system.py
index 10ba7eee79183db480e5ac684b00573f2f177f6d..ee23ad609986c2cb32f3d62f77814d41e8526b74 100644
--- a/chrome/common/extensions/docs/server2/memcache_file_system.py
+++ b/chrome/common/extensions/docs/server2/memcache_file_system.py
@@ -27,7 +27,7 @@ class MemcacheFileSystem(FileSystem):
stat_info = self.StatInfo(version)
return stat_info
- def Read(self, paths):
+ def Read(self, paths, process=True):
"""Reads a list of files. If a file is in memcache and it is not out of
date, it is returned. Otherwise, the file is retrieved from the file system.
"""
@@ -45,7 +45,7 @@ class MemcacheFileSystem(FileSystem):
uncached.append(path)
continue
result[path] = data
- new_items = self._file_system.Read(uncached).Get()
+ new_items = self._file_system.Read(uncached, process).Get()
not at google - send to devlin 2012/07/27 04:54:36 process=process or rather, binary=binary
cduvall 2012/07/27 18:12:28 Done.
for item in new_items:
version = self.Stat(item).version
value = new_items[item]

Powered by Google App Engine
This is Rietveld 408576698