]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/commitdiff
Remove unused class ParseError.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 6 Aug 2021 19:27:22 +0000 (21:27 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Fri, 6 Aug 2021 19:27:22 +0000 (21:27 +0200)
wrpylib/mwmarkup.py

index 83e29ec5ad2256634989574cfcc3a7dc3acfb784..7adcce45d5dc95e13642ad49d6095692f17ad376 100644 (file)
@@ -11,11 +11,6 @@ from typing import Optional
 from mwparserfromhell.nodes import Template
 
 
-class ParseError(RuntimeError):
-    """Exception used by some of the functions"""
-    pass
-
-
 def format_template_table(template: Template, keylen: Optional[int] = None):
     """Reformat the given template to be tabular. The template is modified in-place