diff options
author | morpheus65535 <[email protected]> | 2022-11-07 13:06:49 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2022-11-07 13:08:27 -0500 |
commit | bbe2483e21c2c1549ceeed16f021f9581b899f70 (patch) | |
tree | bcc2bef2f55789ec6e6c64809c07fb4f4d3d9c86 /libs/soupsieve | |
parent | 708fbfcd8ec0620647975be39a1f6acbbf08f767 (diff) | |
download | bazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.tar.gz bazarr-bbe2483e21c2c1549ceeed16f021f9581b899f70.zip |
Updated vendored dependencies.
Diffstat (limited to 'libs/soupsieve')
-rw-r--r-- | libs/soupsieve/__meta__.py | 2 | ||||
-rw-r--r-- | libs/soupsieve/css_match.py | 2 | ||||
-rw-r--r-- | libs/soupsieve/css_parser.py | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libs/soupsieve/__meta__.py b/libs/soupsieve/__meta__.py index 2d769fbf6..3bd6607f1 100644 --- a/libs/soupsieve/__meta__.py +++ b/libs/soupsieve/__meta__.py @@ -192,5 +192,5 @@ def parse_version(ver: str) -> Version: return Version(major, minor, micro, release, pre, post, dev) -__version_info__ = Version(2, 3, 1, "final") +__version_info__ = Version(2, 3, 2, "final", post=1) __version__ = __version_info__._get_canonical() diff --git a/libs/soupsieve/css_match.py b/libs/soupsieve/css_match.py index 79bb87071..49e5f070e 100644 --- a/libs/soupsieve/css_match.py +++ b/libs/soupsieve/css_match.py @@ -84,7 +84,7 @@ class _DocumentNav: # Fail on unexpected types. if not cls.is_tag(tag): - raise TypeError("Expected a BeautifulSoup 'Tag', but instead recieved type {}".format(type(tag))) + raise TypeError("Expected a BeautifulSoup 'Tag', but instead received type {}".format(type(tag))) @staticmethod def is_doc(obj: 'bs4.Tag') -> bool: diff --git a/libs/soupsieve/css_parser.py b/libs/soupsieve/css_parser.py index 0536b80fc..d77084d43 100644 --- a/libs/soupsieve/css_parser.py +++ b/libs/soupsieve/css_parser.py @@ -562,7 +562,7 @@ class CSSParser: selector = self.custom.get(pseudo) if selector is None: raise SelectorSyntaxError( - "Undefined custom selector '{}' found at postion {}".format(pseudo, m.end(0)), + "Undefined custom selector '{}' found at position {}".format(pseudo, m.end(0)), self.pattern, m.end(0) ) @@ -828,7 +828,7 @@ class CSSParser: if not has_selector: if not is_forgive or combinator != COMMA_COMBINATOR: raise SelectorSyntaxError( - "The combinator '{}' at postion {}, must have a selector before it".format(combinator, index), + "The combinator '{}' at position {}, must have a selector before it".format(combinator, index), self.pattern, index ) @@ -1007,7 +1007,7 @@ class CSSParser: if not has_selector: if not is_forgive: raise SelectorSyntaxError( - "Expected a selector at postion {}".format(m.start(0)), + "Expected a selector at position {}".format(m.start(0)), self.pattern, m.start(0) ) @@ -1017,7 +1017,7 @@ class CSSParser: break else: raise SelectorSyntaxError( - "Unmatched pseudo-class close at postion {}".format(m.start(0)), + "Unmatched pseudo-class close at position {}".format(m.start(0)), self.pattern, m.start(0) ) |