projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35042e0
)
python: lambda(p) is not P3k-compliant
author
Sebastian Spaeth
<Sebastian@SSpaeth.de>
Thu, 28 Oct 2010 12:37:16 +0000
(14:37 +0200)
committer
Carl Worth
<cworth@cworth.org>
Thu, 28 Oct 2010 19:12:10 +0000
(12:12 -0700)
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
bindings/python/notmuch/message.py
patch
|
blob
|
history
diff --git
a/bindings/python/notmuch/message.py
b/bindings/python/notmuch/message.py
index 613cc4abc2be7f89c1501cbabaf008288e50204e..ac85cbb453b83aa474298f43cd0066b40b23b28f 100644
(file)
--- 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{ "