diff options
author | Anthon van der Neut <anthon@mnt.org> | 2021-05-31 08:36:28 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2021-05-31 08:36:28 +0200 |
commit | ea3d878ef8635120354cd59a1f31b97b05a3e09b (patch) | |
tree | 75883248966af6cd241cbcd75bc40ba1bc856b6d /resolver.py | |
parent | 35b81abf32f2567feba5957bc7c9d31782af3b1c (diff) | |
download | ruamel.yaml-ea3d878ef8635120354cd59a1f31b97b05a3e09b.tar.gz |
fix 385 (missing attribute) and mypy issues0.17.6
Diffstat (limited to 'resolver.py')
-rw-r--r-- | resolver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolver.py b/resolver.py index a6c97df..969b9a9 100644 --- a/resolver.py +++ b/resolver.py @@ -250,7 +250,7 @@ class BaseResolver: self.resolver_prefix_paths.pop() def check_resolver_prefix(self, depth, path, kind, current_node, current_index): - # type: (int, Text, Any, Any, Any) -> bool + # type: (int, Any, Any, Any, Any) -> bool node_check, index_check = path[depth - 1] if isinstance(node_check, str): if current_node.tag != node_check: |