From: Sebastian Spaeth Date: Thu, 28 Oct 2010 12:37:16 +0000 (+0200) Subject: python: lambda(p) is not P3k-compliant X-Git-Tag: 0.4~32 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8bdd29895352798132c046c85ef72dba10ae12c;p=notmuch.git python: lambda(p) is not P3k-compliant Signed-off-by: Sebastian Spaeth --- diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index 613cc4ab..ac85cbb4 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{ "