1 Return-Path: <too@guru-group.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0AF8C431FBF
\r
6 for <notmuch@notmuchmail.org>; Tue, 18 Feb 2014 10:35:05 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id EAtH39qPEHn2 for <notmuch@notmuchmail.org>;
\r
16 Tue, 18 Feb 2014 10:35:01 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 933F3431FBD
\r
19 for <notmuch@notmuchmail.org>; Tue, 18 Feb 2014 10:35:01 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 55FC5100063; Tue, 18 Feb 2014 20:34:53 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: [PATCH 1/1] nmbug-status: replace __values__() with values() in
\r
26 Date: Tue, 18 Feb 2014 20:34:52 +0200
\r
27 Message-Id: <1392748492-29341-1-git-send-email-tomi.ollila@iki.fi>
\r
28 X-Mailer: git-send-email 1.8.0
\r
29 Cc: tomi.ollila@iki.fi
\r
30 X-BeenThere: notmuch@notmuchmail.org
\r
31 X-Mailman-Version: 2.1.13
\r
33 List-Id: "Use and development of the notmuch mail system."
\r
34 <notmuch.notmuchmail.org>
\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
36 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
38 List-Post: <mailto:notmuch@notmuchmail.org>
\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
42 X-List-Received-Date: Tue, 18 Feb 2014 18:35:05 -0000
\r
44 Python dict() object does not have __values__() function which
\r
45 OrderedDict().values() (the stub provided in nmbug-status) could call
\r
46 to provide ordered list of values. By renaming this thinko to
\r
47 values() will make our stub work as expected -- dict items listed out
\r
48 in order those were added to the dictionary.
\r
50 devel/nmbug/nmbug-status | 2 +-
\r
51 1 file changed, 1 insertion(+), 1 deletion(-)
\r
53 diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
\r
54 index ef7169a..6b2572c 100755
\r
55 --- a/devel/nmbug/nmbug-status
\r
56 +++ b/devel/nmbug/nmbug-status
\r
57 @@ -41,7 +41,7 @@ if not hasattr(collections, 'OrderedDict'): # Python 2.6 or earlier
\r
58 super(_OrderedDict, self).__setitem__(key, value)
\r
59 self._keys.append(key)
\r
61 - def __values__(self):
\r
63 for key in self._keys:
\r