diff options
author | mathieui <mathieui@mathieui.net> | 2017-02-13 19:45:28 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2017-02-13 19:45:28 +0100 |
commit | 747529845ed9d344a3e0a9040c0942b2d5c1db5e (patch) | |
tree | 2fc1303ef02eb955cf6fd8f98283a766dd5d3a57 | |
parent | 5e40b6303190471c32157e32d7ad53624a0f18d4 (diff) | |
download | poezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.tar.gz poezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.tar.bz2 poezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.tar.xz poezio-747529845ed9d344a3e0a9040c0942b2d5c1db5e.zip |
Remove a useless lambda
-rw-r--r-- | poezio/tabs/xmltab.py | 2 |
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) |