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 69167eb041b08311dfb4e9af6b55ab88926368ec..4aa25f57da6bab4dc193a8d79ba5cc0502763240 100644 |
--- a/chrome/common/extensions/docs/server2/samples_data_source.py |
+++ b/chrome/common/extensions/docs/server2/samples_data_source.py |
@@ -121,6 +121,9 @@ class SamplesDataSource(object): |
def __getitem__(self, key): |
return self.get(key) |
+ def values(self): |
+ return self.get('') |
not at google - send to devlin
2012/08/01 10:09:19
call GetAll plz.
Incidentally we should rename al
chebert
2012/08/01 18:04:33
The reason they are called get() and values() is t
not at google - send to devlin
2012/08/01 20:56:32
Ah cool. No problem.
|
+ |
def get(self, key): |
samples_list = self._cache.GetFromFileListing(self._samples_path + '/') |
return_list = [] |