fixed indent
This commit is contained in:
parent
92a5ac2ba9
commit
4864197d46
@ -39,7 +39,7 @@ class MatchXMLMask(base.MatcherBase):
|
||||
try:
|
||||
maskobj = cElementTree.fromstring(maskobj)
|
||||
except ExpatError:
|
||||
logging.exception( "Expat error parsing: %s", maskobj)
|
||||
logging.exception( "Expat error parsing: %s", maskobj)
|
||||
if not use_ns and source.tag.split('}', 1)[-1] != maskobj.tag.split('}', 1)[-1]: # strip off ns and compare
|
||||
return False
|
||||
if use_ns and (source.tag != maskobj.tag and "{%s}%s" % (self.default_ns, maskobj.tag) != source.tag ):
|
||||
|
Loading…
x
Reference in New Issue
Block a user