summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-02-13 19:45:28 +0100
committermathieui <mathieui@mathieui.net>2017-02-13 19:45:28 +0100
commit747529845ed9d344a3e0a9040c0942b2d5c1db5e (patch)
tree2fc1303ef02eb955cf6fd8f98283a766dd5d3a57
parent5e40b6303190471c32157e32d7ad53624a0f18d4 (diff)
downloadpoezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.tar.gz
poezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.tar.bz2
poezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.tar.xz
poezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.zip
Remove a useless lambda
-rw-r--r--poezio/tabs/xmltab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/xmltab.py b/poezio/tabs/xmltab.py
index 5c7a8da7..cd49724c 100644
--- a/poezio/tabs/xmltab.py
+++ b/poezio/tabs/xmltab.py
@@ -47,7 +47,7 @@ class MatchJID(object):
return '%s%s%s' % (self.dest, ': ' if self.dest else '', self.jid)
MATCHERS_MAPPINGS = {
- MatchJID: ('JID', lambda obj: repr(obj)),
+ MatchJID: ('JID', repr),
matcher.MatcherId: ('ID', lambda obj: obj._criteria),
matcher.MatchXMLMask: ('XMLMask', lambda obj: tostring(obj._criteria)),
matcher.MatchXPath: ('XPath', lambda obj: obj._criteria)