logging_format/visitor.py
def visit_ExceptHandler(self, node):
        """
        Process except blocks.

        """
        name = self.get_except_handler_name(node)
        if not name:
            super(LoggingVisitor, self).generic_visit(node)
            return

        self.current_except_names.append(name)
        super(LoggingVisitor, self).generic_visit(node)
        self.current_except_names.pop()
def visit_ExceptHandler(self, node):
        name = self.get_except_handler_name(node)
        if not name:
            super(LoggingVisitor, self).generic_visit(node)
            return

        self.current_except_names.append(name)
        super(LoggingVisitor, self).generic_visit(node)
        self.current_except_names.pop()
def visit_ExceptHandler ( self , node ) : name = self . get_except_handler_name ( node ) if not name : super ( LoggingVisitor , self ) . generic_visit ( node ) return self . current_except_names . append ( name ) super ( LoggingVisitor , self ) . generic_visit ( node ) self . current_except_names . pop ( )
Process except blocks.
Process except blocks .