| Index: chrome/common/extensions/docs/server2/file_system.py
|
| diff --git a/chrome/common/extensions/docs/server2/file_system.py b/chrome/common/extensions/docs/server2/file_system.py
|
| index 873cdbffa3d3650fe96d504c2265809ae8c7b071..51e54bd034391282795d30804f1c8b6617a8029e 100644
|
| --- a/chrome/common/extensions/docs/server2/file_system.py
|
| +++ b/chrome/common/extensions/docs/server2/file_system.py
|
| @@ -4,6 +4,10 @@
|
|
|
| import os
|
|
|
| +class FileNotFoundError(Exception):
|
| + def __init__(self, filename):
|
| + Exception.__init__(self, filename)
|
| +
|
| def _ProcessFileData(data, path):
|
| if os.path.splitext(path)[-1] not in ['.js', '.html', '.json']:
|
| return data
|
|
|