Dereference command action functions
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 11 May 2019 13:24:02 +0000 (13:24 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 11 May 2019 13:24:02 +0000 (13:24 +0000)
commit0ea37930939961ec4b045db07921aa4f5a1ba30c
tree8f8b2291486ecd0fde4a960812985b979e3fc162
parent73a4f24fc4819d7b6b50064d660b24b231a33d9e
Dereference command action functions

Replace the use of Python expressions for command actions with
simple names of functions relative to the mudpy package namespace.
This removes an unsafe use of exec(). Also start catching all
exceptions raised by the execution of a command and simply logging
them rather than allowing them to crash the engine.
mudpy/misc.py
share/command.yaml