Support data directory indices in YAML
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 17 Jun 2014 05:36:27 +0000 (05:36 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 17 Jun 2014 05:36:27 +0000 (05:36 +0000)
commit64fe72be53ff7a16d2b715d379b604fcfa574fd8
tree6091233916c17babd35ccb27e611ce3d373eafa9
parentb5573b6b7c51e99b109741af744cdfcbb632098e
Support data directory indices in YAML

* lib/mudpy/data.py(DataFile.load_yaml,DataFile.load_mpy): Add routines
to look for a YAML file index as well as the old INI-based format. For
YAML files, don't bother recasting entries to lists or dicts since they
should already be returned as the desired type.
lib/mudpy/data.py