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

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

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: everything but svn stuff 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/api_list_data_source.py
diff --git a/chrome/common/extensions/docs/server2/api_list_data_source.py b/chrome/common/extensions/docs/server2/api_list_data_source.py
index 0204d749dbcc3b5baa2fecc4142b50db98544e99..b65852309832e5b2a58d3ccd74bae8985fd6988b 100644
--- a/chrome/common/extensions/docs/server2/api_list_data_source.py
+++ b/chrome/common/extensions/docs/server2/api_list_data_source.py
@@ -18,7 +18,8 @@ class APIListDataSource(object):
self._public_path = public_path + '/'
def _ListAPIs(self, apis):
- api_names = set(SanitizeAPIName(name, self._api_path) for name in apis)
+ api_names = set(SanitizeAPIName(name, api_path=self._api_path)
+ for name in apis)
public_templates = self._file_system.ReadSingle(self._public_path)
template_names = [os.path.splitext(name)[0] for name in public_templates]
experimental_apis = []

Powered by Google App Engine
This is Rietveld 408576698