| |
- lambda: len([msg for msg in query.all() if msg.msg['comment'].get('update', {}).get('user', {}).get('name', None) == "%(msg.comment.update.user.name)s" and msg.msg['comment']['karma'] is 1])
|
| |
+ lambda: sum(1 for msg in query.all() if msg.msg['comment'].get('update', {}).get('user', {}).get('name', None) == "%(msg.comment.update.user.name)s" and msg.msg['comment']['karma'] is 1)
|