def dispatch_visit(self, node): if is_commentable(node): self.handle_visit_commentable(node) HTMLTranslator.dispatch_visit(self, node)
def dispatch_visit(self, node): if is_commentable(node) and hasattr(node, 'uid'): self.handle_visit_commentable(node) HTMLTranslator.dispatch_visit(self, node)