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

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

Issue 151883009: Docserver: Make MockFileSystem not iterate over the entire file system as part (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yoz and then some Created 6 years, 10 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/samples_data_source.py
diff --git a/chrome/common/extensions/docs/server2/samples_data_source.py b/chrome/common/extensions/docs/server2/samples_data_source.py
index 48f2058e2b32d1f24ff1a62cf1e4bcaee99779d3..591993f73cdb81e31cf62d2e0c52a638117eeff8 100644
--- a/chrome/common/extensions/docs/server2/samples_data_source.py
+++ b/chrome/common/extensions/docs/server2/samples_data_source.py
@@ -211,7 +211,7 @@ class SamplesDataSource(object):
def _CreateSamplesDict(self, key):
if key == 'apps':
- samples_list = self._apps_cache.GetFromFileListing('/').Get()
+ samples_list = self._apps_cache.GetFromFileListing('').Get()
else:
samples_list = self._extensions_cache.GetFromFileListing(EXAMPLES).Get()
return_list = []

Powered by Google App Engine
This is Rietveld 408576698