mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
python: lambda(p) is not P3k-compliant
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
35042e0696
commit
c8bdd29895
1 changed files with 1 additions and 1 deletions
|
@ -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{ "
|
||||
|
|
Loading…
Reference in a new issue