From e081b5e66fd88d613a9debc0f4e95feb18041ccf Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 1 Aug 2012 11:28:59 +0000 Subject: [PATCH] Work around lack of dict_keys index in data loader * lib/mudpy/data.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 access a key by ordered index. --- lib/mudpy/data.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/mudpy/data.py b/lib/mudpy/data.py index cdb114f..4553c7b 100644 --- a/lib/mudpy/data.py +++ b/lib/mudpy/data.py @@ -227,8 +227,9 @@ def find_file( # if there's only one file loaded, try to work around a chicken