From 5a5fd309231e1fc3182590b31787c42672e83e16 Mon Sep 17 00:00:00 2001 From: vicky Date: Thu, 3 Mar 2022 22:51:39 +0100 Subject: [PATCH] added error manager import --- src/bootstraparse/modules/preparser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bootstraparse/modules/preparser.py b/src/bootstraparse/modules/preparser.py index 3d0a1aa..bda9000 100644 --- a/src/bootstraparse/modules/preparser.py +++ b/src/bootstraparse/modules/preparser.py @@ -7,6 +7,7 @@ from io import StringIO from bootstraparse.modules import pathresolver as pr from bootstraparse.modules import environment from bootstraparse.modules import syntax +from bootstraparse.modules import error_mngr as em import rich from rich.tree import Tree @@ -284,8 +285,8 @@ class PreParser: def __ne__(self, other): """ Checks if the PreParser object is not equal to another PreParser object. - :return: True if the PreParser objects are not equal, False otherwise :param other: the other PreParser object + :return: True if the PreParser objects are not equal, False otherwise """ return not self.__eq__(other)