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

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

Issue 385703005: Docserver: Modify doc inlining so all relevant data is present in availability_finder.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 6 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_models.py
diff --git a/chrome/common/extensions/docs/server2/api_models.py b/chrome/common/extensions/docs/server2/api_models.py
index 673dc434661fe18a297217db4f0bbf02d84716c2..7fae711e4b573826af58cee5b25f3ed8f4e26ef7 100644
--- a/chrome/common/extensions/docs/server2/api_models.py
+++ b/chrome/common/extensions/docs/server2/api_models.py
@@ -38,7 +38,7 @@ class APIModels(object):
node['extension_types'] != 'all' and
self._platform not in node['extension_types'])
- schema = ProcessSchema(path, data, inline=True)[0]
+ schema = ProcessSchema(path, data, remove_inlined_nodes=True)[0]
if not schema:
raise ValueError('No schema for %s' % path)
return Namespace(DeleteNodes(

Powered by Google App Engine
This is Rietveld 408576698