new HTML formatter using webkit

This commit is contained in:
Christophe Benz 2010-06-30 20:14:07 +02:00
commit 5bbe266c8c
10 changed files with 178 additions and 8 deletions

View file

@ -200,6 +200,9 @@ class ConsoleApplication(BaseApplication):
def command(doc_string, f=register_command):
return partial(f, doc_string=doc_string)
def set_header(self, string):
self.formatter.set_header(string)
def format(self, result, backend_name):
try:
self.formatter.format(result, backend_name, selected_fields=self.selected_fields, condition=self.condition)