def visit_contact(self, node): if not self.headers.has_key('author-email'): self.headers['author-email'] = self.encode(node.astext()) HTMLTranslator.visit_contact(self, node)