@staticmethod
    def get_leases(xml, filter={}):
        xpath = (XpathFilter.xpath(filter), XpathFilter.xpath(filter)) % '//lease%s | //default:lease%s'
        lease_elems = xml.xpath(xpath)
        return NITOSv1Lease.get_lease_objs(lease_elems)
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/rspecs/elements/versions/nitosv1Lease.py/NITOSv1Lease.get_leases/swapped operands of `%`