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)
commit3b16769152e6f5bff553a37d0e69f35dee28dc29
tree6a923a150faf828b4447fe94772ba6ca7e53e607
parent0cda64117ac0b79b8c8f16a37ec3f9316f4c4d16
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