def log_unknown(self, node, during):
        if not hasattr(self, 'unkn_node'):
            self.unkn_node = set()
        cln=self.getclassname(node)
        if not self.unkn_node in cln:
            self.unkn_node.add(cln)
            log.warning("Unkn. node (self.%s): %s [%s]",
                during, cln, nodeid(node))
            try:
                log.debug(node)
            except (UnicodeDecodeError, UnicodeEncodeError):
                log.debug(repr(node))
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/basenodehandler.py/NodeHandler.log_unknown/swapped operands of `in`