| Index: third_party/liblouis/liblouis_list_tables.py
|
| diff --git a/third_party/liblouis/liblouis_list_tables.py b/third_party/liblouis/liblouis_list_tables.py
|
| index 79b0c10d5a8ec685bf52f2d1dc637d041142685a..e42e5daee21b3fc0224d8740049000371acf4542 100755
|
| --- a/third_party/liblouis/liblouis_list_tables.py
|
| +++ b/third_party/liblouis/liblouis_list_tables.py
|
| @@ -25,7 +25,11 @@ def ToNativePath(pathname):
|
|
|
| def LoadTablesFile(filename):
|
| with open(ToNativePath(filename), 'r') as fh:
|
| - return json.load(fh)
|
| + try:
|
| + return json.load(fh)
|
| + except ValueError, e:
|
| + raise ValueError('Error parsing braille table file %s: %s' %
|
| + (filename, e.message))
|
|
|
|
|
| def FindFile(filename, directories):
|
|
|