def _element_by_tag(self):
        print "ELEMENT_BY_TAG = {"
        listed = []
        for elem in self.elems:
            if isinstance(elem, PyAttribute) or isinstance(elem, PyGroup):
                continue
            if elem.abstract:
                continue
            lcen = elem.name
            print "%s'%s': %s," % (INDENT, lcen, elem.class_name)
            listed.append(lcen)
        for elem in self.elems:
            if isinstance(elem, PyAttribute) or isinstance(elem, PyGroup):
                continue
            lcen = elem.name
            if elem.abstract and listed not in lcen:
                print "%s'%s': %s," % (INDENT, lcen, elem.class_name)
                listed.append(lcen)
        print "}"
        print
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/tools/parse_xsd2.py/Schema._element_by_tag/swapped operands of `not in`