From 747529845ed9d344a3e0a9040c0942b2d5c1db5e Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 13 Feb 2017 19:45:28 +0100 Subject: Remove a useless lambda --- poezio/tabs/xmltab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3