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 a8147e9b39cb1b7ac2dcc7f738692be8374d7061..420870b54d1c75d6ddee841618d196583fd52eaa 100644 |
--- a/chrome/common/extensions/docs/server2/api_data_source.py |
+++ b/chrome/common/extensions/docs/server2/api_data_source.py |
@@ -203,6 +203,9 @@ class _JSCModel(object): |
'properties': [], |
'id': _CreateId(event, 'event') |
} |
+ if (event.deprecated is not None): |
not at google - send to devlin
2013/10/31 20:23:13
no need for parens
dhnishi (use Chromium)
2013/10/31 21:29:23
Done.
|
+ event_dict['deprecated'] = self._FormatDescription( |
+ event.deprecated) |
if (event.parent is not None and |
not isinstance(event.parent, model.Namespace)): |
event_dict['parentName'] = event.parent.simple_name |