1. Tom Limoncelli
  2. pyyaml

Commits

Kirill Simonov  committed 60380e5

Fixed a bug in CDumper when ascend_resolver() is never called.

  • Participants
  • Parent commits 671dfd5
  • Branches default

Comments (0)

Files changed (1)

File ext/_yaml.pyx

View file
  • Ignore whitespace
                 if yaml_emitter_emit(&self.emitter, &event) == 0:
                     error = self._emitter_error()
                     raise error
+            self.ascend_resolver()
         return 1
 
 cdef int output_handler(void *data, char *buffer, int size) except 0: