summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c0a1b4)
Python dict() object does not have __values__() function which
OrderedDict().values() (the stub provided in nmbug-status) could call
to provide ordered list of values. By renaming this thinko to
values() will make our stub work as expected -- dict items listed out
in order those were added to the dictionary.
super(_OrderedDict, self).__setitem__(key, value)
self._keys.append(key)
super(_OrderedDict, self).__setitem__(key, value)
self._keys.append(key)
for key in self._keys:
yield self[key]
for key in self._keys:
yield self[key]