01-fix-for-yson.patch 322 B

12345
  1. --- contrib/python/PyYAML/py3/yaml/representer.py (index)
  2. +++ contrib/python/PyYAML/py3/yaml/representer.py (working tree)
  3. @@ -148 +148 @@ class SafeRepresenter(BaseRepresenter):
  4. - return self.represent_scalar('tag:yaml.org,2002:str', data)
  5. + return self.represent_scalar('tag:yaml.org,2002:str', str(data))