From 3076b7612b8274cd01021da78778731e461d81c6 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 12 Mar 2023 03:44:32 -0400 Subject: [PATCH] Keep the same single quoted style for `!include` tags as non-CLoader --- tts_yaml_unpacker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tts_yaml_unpacker.py b/tts_yaml_unpacker.py index 1705aa0..e4aeec8 100755 --- a/tts_yaml_unpacker.py +++ b/tts_yaml_unpacker.py @@ -23,7 +23,7 @@ class IncludeTag: @classmethod def to_yaml(cls, dumper, node): - return dumper.represent_scalar(cls.yaml_tag, node.target) + return dumper.represent_scalar(cls.yaml_tag, node.target, style="'") @classmethod def from_yaml(cls, loader, node):