def add_network(self, network):
        network_tags = self.xml.xpath(network % '//network[@name="%s"]')
        if not network_tags:
            network_tag = self.xml.add_element('network', name=network)
        else:
            network_tag = network_tags[0]
        return network_tag


    # Nodes
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/optin_manager/sfa/rspecs/.oldversions/sfav1.py/SFAv1.add_network/swapped operands of `%`