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)
commit3a2229d8923d5240b2a7c95dafc8a6e0b35e06da
tree2e52762c36c327fb8a8ee8bcdf7798527eb5c2e9
parentb6b6478cf56b8d0defd158868c91f88c150313ed
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