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..5e76489a3d0ebdc51a8e330679d7fc948646d903 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(callback=lambda: make_stat_info(dir_stat)) |
def next(dir_stat): |
assert dir_stat is not None # should have raised a FileNotFoundError |