diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2010-10-28 14:37:16 +0200 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-10-28 12:12:10 -0700 |
commit | c8bdd29895352798132c046c85ef72dba10ae12c (patch) | |
tree | fea75ba4774c2648c20a57286ef930daf369d5aa /bindings/python | |
parent | 35042e0696dd79c6a008918247d52c06ac9a6365 (diff) |
python: lambda(p) is not P3k-compliant
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'bindings/python')
-rw-r--r-- | 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 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{ " |