python: lambda(p) is not P3k-compliant

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
Sebastian Spaeth 2010-10-28 14:37:16 +02:00 committed by Carl Worth
parent 35042e0696
commit c8bdd29895

View file

@ -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{ "