Work around lack of dict_keys index in catch-all
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 25 Sep 2012 16:32:32 +0000 (16:32 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 25 Sep 2012 16:32:32 +0000 (16:32 +0000)
commitd9ebabccba372a3bd570fa259ca1da291d69d89f
treef5a32e8b95ce5f949d88fbd5ffbdb71ca04feff2
parent1bc63aa79baaf35ab62b6462a96c7172fb6d3ba4
Work around lack of dict_keys index in catch-all

* lib/mudpy/misc.py: In Python 3000, dict.keys() returns a dict_keys
type which is not indexed, so work around it by converting to a list
anywhere we attempt to sort keys or access a key by ordered index.
lib/mudpy/misc.py