1 Return-Path: <Sebastian@SSpaeth.de>
\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 8432640D155
\r
6 for <notmuch@notmuchmail.org>; Thu, 28 Oct 2010 05:37:46 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,
\r
12 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id NEmSLKGF+Nbt for <notmuch@notmuchmail.org>;
\r
17 Thu, 28 Oct 2010 05:37:34 -0700 (PDT)
\r
18 Received: from homiemail-a17.g.dreamhost.com (caiajhbdccah.dreamhost.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id 6344440D152
\r
21 for <notmuch@notmuchmail.org>; Thu, 28 Oct 2010 05:37:29 -0700 (PDT)
\r
22 Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1])
\r
23 by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id CE6A17A8070;
\r
24 Thu, 28 Oct 2010 05:37:28 -0700 (PDT)
\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject
\r
26 :date:message-id:in-reply-to:references; q=dns; s=sspaeth.de; b=
\r
27 HqVokNeGB3ypmfXCvtgt8iYIDWmYH930L258VPttsmTFNOCifKiyQ9PlMi8kUxoa
\r
28 qZ2zxHEunEtXvBC8WMCFRu0zr8amIej+ER5ijFkgbcDFm1qXdaqWKqfM3k/1BP8h
\r
29 6lJPcccjga8aBwkoAWrW2XIQIqcEhiYaJgNBVj5Jsco=
\r
30 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc
\r
31 :subject:date:message-id:in-reply-to:references; s=sspaeth.de;
\r
32 bh=SbjqqCfDiOQ5DjGXnWxpWOPbvvg=; b=hyA/MuDde5UaB63yJ+a6gjtGGVN6
\r
33 EPwfjQhe8cuD24X1RJpBVZ0YdZr6MvRZzJNqdlfK76tehLiJF1AefdxercZ0gZIs
\r
34 +avNbWJpwucT1DicjXhTi+UZAermeR4V3sj31VvuMEK2TbtbmViEouoWSrjpAZh4
\r
36 Received: from spaetzbook.sspaeth.de (mtec-hg-docking-2-dhcp-016.ethz.ch
\r
37 [82.130.121.16]) (Authenticated sender: fax@sspaeth.de)
\r
38 by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 4CCCA7A8069;
\r
39 Thu, 28 Oct 2010 05:37:27 -0700 (PDT)
\r
40 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);
\r
41 Thu, 28 Oct 2010 14:37:26 +0200
\r
42 From: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH 2/2] python: lambda(p) is not P3k-compliant
\r
45 Date: Thu, 28 Oct 2010 14:37:16 +0200
\r
46 Message-Id: <1288269436-730-2-git-send-email-Sebastian@SSpaeth.de>
\r
47 X-Mailer: git-send-email 1.7.1
\r
48 In-Reply-To: <1288269436-730-1-git-send-email-Sebastian@SSpaeth.de>
\r
49 References: <1288269436-730-1-git-send-email-Sebastian@SSpaeth.de>
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Thu, 28 Oct 2010 12:37:46 -0000
\r
65 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
\r
67 bindings/python/notmuch/message.py | 2 +-
\r
68 1 files changed, 1 insertions(+), 1 deletions(-)
\r
70 diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py
\r
71 index 613cc4a..ac85cbb 100644
\r
72 --- a/bindings/python/notmuch/message.py
\r
73 +++ b/bindings/python/notmuch/message.py
\r
74 @@ -748,7 +748,7 @@ class Message(object):
\r
75 output += "\n\fbody{"
\r
77 parts = format["body"]
\r
78 - parts.sort(key=lambda(p): p["id"])
\r
79 + parts.sort(key=lambda x: x['id'])
\r
81 if not p.has_key("filename"):
\r
82 output += "\n\fpart{ "
\r