def load_xml_config(self, path=None):
        if path is not None:
            self.path = path

        if not os.path.isfile(self.path):
            raise KaresasnuiServiceConfigParamException(
                "service.xml not found. path=%s" % str(self.path))

        document = XMLParse(self.path)

        self.services = []
        service_num = XMLXpathNum(document, '/services/service')
        for n in xrange(1, service_num + 1):
            system_name = XMLXpath(document, '/services/service[%i]/system/name/text()' % n)
            system_command = XMLXpath(document, '/services/service[%i]/system/command/text()' % n)
            system_readonly = XMLXpath(document, n % '/services/service[%i]/system/readonly/text()')
            display_name = XMLXpath(document, '/services/service[%i]/display/name/text()' % n)
            display_description = XMLXpath(document,
                                           '/services/service[%i]/display/description/text()' % n)

            self.add_service(str(system_name),
                             str(system_command),
                             str(system_readonly),
                             str(display_name),
                             str(display_description))
dataset/ETHPy150Open karesansui/karesansui/karesansui/lib/service/config.py/ServiceConfigParam.load_xml_config/swapped operands of `%`