summaryrefslogtreecommitdiff
path: root/reader.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 /reader.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 'reader.py')
-rw-r--r--reader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/reader.py b/reader.py
index a78a878..bceb790 100644
--- a/reader.py
+++ b/reader.py
@@ -118,7 +118,7 @@ class Reader:
if isinstance(val, str):
self.name = '<unicode string>'
self.check_printable(val)
- self.buffer = val + '\0' # type: ignore
+ self.buffer = val + '\0'
elif isinstance(val, bytes):
self.name = '<byte string>'
self.raw_buffer = val