Remove a useless lambda
This commit is contained in:
parent
5e40b63031
commit
747529845e
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class MatchJID(object):
|
||||||
return '%s%s%s' % (self.dest, ': ' if self.dest else '', self.jid)
|
return '%s%s%s' % (self.dest, ': ' if self.dest else '', self.jid)
|
||||||
|
|
||||||
MATCHERS_MAPPINGS = {
|
MATCHERS_MAPPINGS = {
|
||||||
MatchJID: ('JID', lambda obj: repr(obj)),
|
MatchJID: ('JID', repr),
|
||||||
matcher.MatcherId: ('ID', lambda obj: obj._criteria),
|
matcher.MatcherId: ('ID', lambda obj: obj._criteria),
|
||||||
matcher.MatchXMLMask: ('XMLMask', lambda obj: tostring(obj._criteria)),
|
matcher.MatchXMLMask: ('XMLMask', lambda obj: tostring(obj._criteria)),
|
||||||
matcher.MatchXPath: ('XPath', lambda obj: obj._criteria)
|
matcher.MatchXPath: ('XPath', lambda obj: obj._criteria)
|
||||||
|
|
Loading…
Reference in a new issue