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

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

Issue 10825067: Extensions Docs Server: Apps samples page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no more zip file 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 5ac407237cabd5055aeee07a1def863a80b4d147..742c3a796a362654c96227c621744dc32282b2d0 100644
--- a/chrome/common/extensions/docs/server2/memcache_file_system.py
+++ b/chrome/common/extensions/docs/server2/memcache_file_system.py
@@ -40,7 +40,7 @@ class MemcacheFileSystem(FileSystem):
uncached.append(path)
continue
data, version = cached_result
- if self.Stat(path).version > version:
+ if self._file_system.CheckStat(self.Stat(path).version, version):
not at google - send to devlin 2012/08/02 13:27:48 yeah, needs to be != (and besides, I don't think t
cduvall 2012/08/02 23:20:01 Done.
self._memcache.Delete(path, memcache.MEMCACHE_FILE_SYSTEM_READ)
uncached.append(path)
continue

Powered by Google App Engine
This is Rietveld 408576698