Guard against KeyError on universe.contents index
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 14 May 2017 16:42:55 +0000 (16:42 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 14 May 2017 16:42:55 +0000 (16:42 +0000)
commit05b1c27a5bcb13abf97764bbb9d1a3cfa69f5d4f
treecee7dbc462268275642634ce56c2ccf36469d7c6
parent29e2b2662255e9049fa843d01bdee5f2e8dc00a3
Guard against KeyError on universe.contents index

When accessing base level configuration elements from the main
engine, check that they're actually in universe.contents before
trying to retrieve their facets. Also use sane default fallbacks if
they're undefined.
mudpy/data.py
mudpy/misc.py