def __init__(self, test, default, arguments):
        super(XSLTFilter, self).__init__(test, default, arguments)

        if not etree:
            raise errors.InitError("lxml is required for XSLT support.")

        try:
            if self.arguments.startswith("/"):
                document = etree.parse(self.arguments)
            elif self.arguments.rstrip().startswith("<"):
                document = etree.fromstring(self.arguments)
            else:
                raise errors.InitError(
                        "Invalid XSLT filter argument: %r" % self.arguments)

            self.xslt = etree.XSLT(document)
        except IOError, ex:
            raise errors.InitError("Failed reading XSLT document: %s" % ex)
        except etree.XMLSyntaxError, ex:
            raise errors.InitError(ex % "Invalid XSLT document: %s")
        except etree.XSLTParseError, ex:
            raise errors.InitError("Invalid XSLT document: %s" % ex)
dataset/ETHPy150Open marineam/nagcat/python/nagcat/plugins/filter_xml.py/XSLTFilter.__init__/swapped operands of `%`