Index: chrome/common/extensions/docs/server2/caching_file_system.py |
diff --git a/chrome/common/extensions/docs/server2/caching_file_system.py b/chrome/common/extensions/docs/server2/caching_file_system.py |
index 15a81a36f8c4f78ff0a7ddbb23ca3dde5dcd53f5..a3b65897e92d96e9b946e3b803bfe5b016e76b49 100644 |
--- a/chrome/common/extensions/docs/server2/caching_file_system.py |
+++ b/chrome/common/extensions/docs/server2/caching_file_system.py |
@@ -60,7 +60,7 @@ class CachingFileSystem(FileSystem): |
dir_stat = self._stat_object_store.Get(dir_path).Get() |
if dir_stat is not None: |
- return Future(value=make_stat_info(dir_stat)) |
+ return Future(value=dir_stat).Then(make_stat_info) |
ahernandez
2014/08/21 18:07:27
I had to change it to this to avoid FileNotFoundEr
not at google - send to devlin
2014/08/21 21:39:57
Heh, I needed to make that fix as well:
https://c
|
def next(dir_stat): |
assert dir_stat is not None # should have raised a FileNotFoundError |