@staticmethod
    def get_channels(xml, filter={}):
        xpath = (XpathFilter.xpath(filter), XpathFilter.xpath(filter)) % '//channel%s | //default:channel%s'
        channel_elems = xml.xpath(xpath)
        return NITOSv1Channel.get_channel_objs(channel_elems)
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/rspecs/elements/versions/nitosv1Channel.py/NITOSv1Channel.get_channels/swapped operands of `%`