aboutsummaryrefslogtreecommitdiff
path: root/mammoth/styles/parser/document_matcher_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/styles/parser/document_matcher_parser.py')
-rw-r--r--mammoth/styles/parser/document_matcher_parser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mammoth/styles/parser/document_matcher_parser.py b/mammoth/styles/parser/document_matcher_parser.py
index 6d69a8f..5f85a18 100644
--- a/mammoth/styles/parser/document_matcher_parser.py
+++ b/mammoth/styles/parser/document_matcher_parser.py
@@ -70,5 +70,4 @@ def _parse_list_type(tokens):
elif list_type == "unordered-list":
return False
else:
- pass
- # TODO: raise
+ raise LineParseError("Unrecognised list type: {0}".format(list_type))