| 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 e8db941b3ff73f9b6842f1341572dbc2874da2d4..b189e358176fafd1dde24cba6f70129f28f2958b 100644
|
| --- a/chrome/common/extensions/docs/server2/api_data_source.py
|
| +++ b/chrome/common/extensions/docs/server2/api_data_source.py
|
| @@ -39,9 +39,9 @@ class APIDataSource(object):
|
| json_path = unix_name + '.json'
|
| idl_path = unix_name + '.idl'
|
| try:
|
| - return self._json_cache.getFromFile(self._base_path + '/' + json_path)
|
| - except:
|
| + return self._json_cache.GetFromFile(self._base_path + '/' + json_path)
|
| + except Exception:
|
| try:
|
| - return self._idl_cache.getFromFile(self._base_path + '/' + idl_path)
|
| - except:
|
| + return self._idl_cache.GetFromFile(self._base_path + '/' + idl_path)
|
| + except Exception:
|
| return None
|
|
|