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

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: fixes Created 8 years, 4 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..c691962207bd5ebca8ed5eb30e3b9d00a4611bd8 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.Stat(path).version != version:
self._memcache.Delete(path, memcache.MEMCACHE_FILE_SYSTEM_READ)
uncached.append(path)
continue

Powered by Google App Engine
This is Rietveld 408576698