def __get_xml_summary(self, label, kpiset):
        elem = etree.Element("Group", label=label)
        for kpi_name, kpi_val in iteritems(kpiset):
            if ('errors', 'rt') in kpi_name:
                continue

            if isinstance(kpi_val, dict):
                for param_name, param_val in iteritems(kpi_val):
                    elem.append(self.__get_kpi_xml(kpi_name, param_val, param_name))
            else:
                elem.append(self.__get_kpi_xml(kpi_name, kpi_val))

        return elem
dataset/ETHPy150Open Blazemeter/taurus/bzt/modules/reporting.py/FinalStatus.__get_xml_summary/swapped operands of `in`