Ticket #6050: 6050.patch
File 6050.patch, 610 bytes (added by , 17 years ago) |
---|
-
django/utils/datastructures.py
60 60 if isinstance(data, dict): 61 61 self.keyOrder = data.keys() 62 62 else: 63 self.keyOrder = [key for key, value in data] 63 self.keyOrder = [] 64 for key, value in data: 65 if key not in self.keyOrder: 66 self.keyOrder.append(key) 64 67 65 68 def __deepcopy__(self, memo): 66 69 from copy import deepcopy