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)
commit4eb4a44bb63c666d6b4cbb6816d3082449dcdccb
treee7d45070712efeed601a6d95e63970672227048b
parente081b5e66fd88d613a9debc0f4e95feb18041ccf
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