Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8432640D155 for ; Thu, 28 Oct 2010 05:37:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2 X-Spam-Level: X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NEmSLKGF+Nbt for ; Thu, 28 Oct 2010 05:37:34 -0700 (PDT) Received: from homiemail-a17.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by olra.theworths.org (Postfix) with ESMTP id 6344440D152 for ; Thu, 28 Oct 2010 05:37:29 -0700 (PDT) Received: from homiemail-a17.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTP id CE6A17A8070; Thu, 28 Oct 2010 05:37:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject :date:message-id:in-reply-to:references; q=dns; s=sspaeth.de; b= HqVokNeGB3ypmfXCvtgt8iYIDWmYH930L258VPttsmTFNOCifKiyQ9PlMi8kUxoa qZ2zxHEunEtXvBC8WMCFRu0zr8amIej+ER5ijFkgbcDFm1qXdaqWKqfM3k/1BP8h 6lJPcccjga8aBwkoAWrW2XIQIqcEhiYaJgNBVj5Jsco= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc :subject:date:message-id:in-reply-to:references; s=sspaeth.de; bh=SbjqqCfDiOQ5DjGXnWxpWOPbvvg=; b=hyA/MuDde5UaB63yJ+a6gjtGGVN6 EPwfjQhe8cuD24X1RJpBVZ0YdZr6MvRZzJNqdlfK76tehLiJF1AefdxercZ0gZIs +avNbWJpwucT1DicjXhTi+UZAermeR4V3sj31VvuMEK2TbtbmViEouoWSrjpAZh4 sJ78YZjb6FTBHbc= Received: from spaetzbook.sspaeth.de (mtec-hg-docking-2-dhcp-016.ethz.ch [82.130.121.16]) (Authenticated sender: fax@sspaeth.de) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 4CCCA7A8069; Thu, 28 Oct 2010 05:37:27 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Thu, 28 Oct 2010 14:37:26 +0200 From: Sebastian Spaeth To: notmuch@notmuchmail.org Subject: [PATCH 2/2] python: lambda(p) is not P3k-compliant Date: Thu, 28 Oct 2010 14:37:16 +0200 Message-Id: <1288269436-730-2-git-send-email-Sebastian@SSpaeth.de> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1288269436-730-1-git-send-email-Sebastian@SSpaeth.de> References: <1288269436-730-1-git-send-email-Sebastian@SSpaeth.de> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2010 12:37:46 -0000 Signed-off-by: Sebastian Spaeth --- bindings/python/notmuch/message.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index 613cc4a..ac85cbb 100644 --- a/bindings/python/notmuch/message.py +++ b/bindings/python/notmuch/message.py @@ -748,7 +748,7 @@ class Message(object): output += "\n\fbody{" parts = format["body"] - parts.sort(key=lambda(p): p["id"]) + parts.sort(key=lambda x: x['id']) for p in parts: if not p.has_key("filename"): output += "\n\fpart{ " -- 1.7.1