Tuesday, September 20, 2011

yaml.dump() exception lead to corrupt data

A long .yml file. yaml.load() then edit then yaml.dump() to same file. If yaml.dump() throw exception, the original file might be corrupt.

No comments:

Post a Comment