Commit 7efed613 authored by Andrey Golovizin's avatar Andrey Golovizin

Convert dict.keys() to list for Python 3 compatibility

parent 6c9d4a19
......@@ -287,7 +287,7 @@ class OrderedCaseInsensitiveDict(CaseInsensitiveDict):
if isinstance(data, Sequence):
self.order = [key for key, value in data]
self.order = data.keys()
self.order = list(data.keys())
super(OrderedCaseInsensitiveDict, self).__init__(data)
def __setitem__(self, key, value):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment