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

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

Issue 10808065: Extensions Docs Server: TDS fix, no local caching (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes 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/local_file_system.py
diff --git a/chrome/common/extensions/docs/server2/local_file_system.py b/chrome/common/extensions/docs/server2/local_file_system.py
index fac66601f7dd120f3b1f393fd8cf7e288671f7f4..fae501cd0ea4972d9f6cdd35c7c8383fa991def7 100644
--- a/chrome/common/extensions/docs/server2/local_file_system.py
+++ b/chrome/common/extensions/docs/server2/local_file_system.py
@@ -43,4 +43,4 @@ class LocalFileSystem(FileSystem):
return Future(value=result)
def Stat(self, path):
- return self.StatInfo(0)
+ return self.StatInfo(os.stat(os.path.join(self._base_path, path)).st_mtime)

Powered by Google App Engine
This is Rietveld 408576698