Fix show element command for Py3K
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 16 Apr 2016 01:02:48 +0000 (01:02 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 16 Apr 2016 04:59:34 +0000 (04:59 +0000)
commitc7f954204cd7efe83793c008b9b5bcb0eec4b914
treef0e57b8e2405eb794b3188e004c28dd9d6215623
parent1073e70026751c80e203c7acdd27ff6da22f4799
Fix show element command for Py3K

Under Python 3, the dict.keys() method returns a generator rather
than a list and so cannot support the list.sort() method. Instead
use the sorted() function for this purpose in the show element
command. Also switch from concatenation to formatting to embed
facets in the output since they may contain nontext values.
lib/mudpy/misc.py