summaryrefslogtreecommitdiff
path: root/representer.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2021-06-09 15:29:00 +0200
committerAnthon van der Neut <anthon@mnt.org>2021-06-09 15:29:00 +0200
commit5a5b603289bfd9b9e1bcd57618cf8694bd0ec2aa (patch)
tree3244f3c128fbb54bfc57e06f309a3ea333a62938 /representer.py
parent148949be5260969391a5b993cbb3fb602bed55a6 (diff)
downloadruamel.yaml-5a5b603289bfd9b9e1bcd57618cf8694bd0ec2aa.tar.gz
fix for issue 3870.17.8
tagged objects that have a templated (idNNN) anchor, did get the anchor added explicitly, resulting potentially in double anchors
Diffstat (limited to 'representer.py')
-rw-r--r--representer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/representer.py b/representer.py
index d419f50..a27f457 100644
--- a/representer.py
+++ b/representer.py
@@ -2,7 +2,7 @@
from ruamel.yaml.error import * # NOQA
from ruamel.yaml.nodes import * # NOQA
-from ruamel.yaml.compat import ordereddict # type: ignore
+from ruamel.yaml.compat import ordereddict
from ruamel.yaml.compat import _F, nprint, nprintf # NOQA
from ruamel.yaml.scalarstring import (
LiteralScalarString,