Re: [PATCH 1/1] nmbug-status: replace __values__() with values() in OrderedDict stub

Subject: Re: [PATCH 1/1] nmbug-status: replace __values__() with values() in OrderedDict stub

Date: Fri, 21 Feb 2014 21:21:19 -0400

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@iki.fi> writes:

> 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.

pushed, and it looks like it fixes the date ordering problem

d

Thread: