Make escape_macros no-op on nontext values
authorJeremy Stanley <fungi@yuggoth.org>
Thu, 17 Mar 2016 10:03:45 +0000 (10:03 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Thu, 17 Mar 2016 10:03:45 +0000 (10:03 +0000)
commit1073e70026751c80e203c7acdd27ff6da22f4799
tree6a923a150faf828b4447fe94772ba6ca7e53e607
parent83829084c3d15a3f2c678459b171f8974a27bf03
Make escape_macros no-op on nontext values

Update the escape_macros() function to deal with YAML style
Element.get() that may return datatypes other than str. This allows
for indiscriminately passing facets through the function without
recasting them.
lib/mudpy/misc.py