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

Unified Diff: chrome/common/extensions/docs/server2/api_data_source.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: Final nit 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_models.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/api_data_source.py
diff --git a/chrome/common/extensions/docs/server2/api_data_source.py b/chrome/common/extensions/docs/server2/api_data_source.py
index aaea1ab2a1e50fa4b28bc6fb70cf8be6624ab855..91dcfc34ba3a8447d37c0dff1fd74e29cf12307f 100644
--- a/chrome/common/extensions/docs/server2/api_data_source.py
+++ b/chrome/common/extensions/docs/server2/api_data_source.py
@@ -217,9 +217,7 @@ class _APINodeCursor(object):
return None
node_availability = self._LookupAvailability(self._lookup_path)
if node_availability is None:
- if not IsReleaseServer():
- # Bad, and happens a lot :(
- logging.warning('No availability found for: %s' % self)
+ logging.warning('No availability found for: %s' % self)
return None
parent_node_availability = self._LookupAvailability(self._GetParentPath())
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_models.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698