| 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 7c1c65a09f316723c9a74a5c79cde89cd136d5dd..939b4b6fea307561bed04916d6316fab5462de48 100644
|
| --- a/chrome/common/extensions/docs/server2/api_list_data_source.py
|
| +++ b/chrome/common/extensions/docs/server2/api_list_data_source.py
|
| @@ -5,7 +5,6 @@
|
| import logging
|
| import os
|
|
|
| -from file_system import FileNotFoundError
|
| import third_party.json_schema_compiler.model as model
|
| import docs_server_utils as utils
|
|
|
| @@ -85,7 +84,4 @@ class APIListDataSource(object):
|
| return [api_name['name'] for api_name in names]
|
|
|
| def get(self, key):
|
| - try:
|
| - return self._compiled_fs.GetFromFileListing(self._api_path)[key]
|
| - except FileNotFoundError as e:
|
| - raise ValueError('%s: Error listing files for "%s".' % (e, key))
|
| + return self._compiled_fs.GetFromFileListing(self._api_path)[key]
|
|
|