Write files directly from yaml.dump
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 17 Jan 2015 01:16:13 +0000 (01:16 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 17 Jan 2015 01:16:13 +0000 (01:16 +0000)
commit06fca9a6a48ba9209a7ba34a2022254d8c7940c9
tree8956343d2b2f24f953b94b749d31777670664b30
parent5203c13783665dfa6106f174c7aaf0d165453cdb
Write files directly from yaml.dump

Simplify data file writing by passing a file descriptor directly to
the yaml.dump method rather than unnecessarily passing a string back
out of it and into a separate writer.
lib/mudpy/data.py