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)
commit0580d77ecba37ac032dde3e3d8d7b054ccc7fd74
treecee7dbc462268275642634ce56c2ccf36469d7c6
parenta848ee505cff4e968417004173adc790f4e78ff1
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