From 22d337790acc82e8760e1dd261c47c93297f1d21 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 21 Nov 2010 18:58:30 -0500 Subject: [PATCH] small changes to html output --- tablib/formats/_html.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tablib/formats/_html.py b/tablib/formats/_html.py index 60969f6..786d5a3 100644 --- a/tablib/formats/_html.py +++ b/tablib/formats/_html.py @@ -3,7 +3,7 @@ """ Tablib - HTML export support. """ -import cStringIO +from StringIO import StringIO from tablib.packages import markup import tablib @@ -12,10 +12,9 @@ title = 'html' extentions = ('html', ) def export_set(dataset): - """HTML representation of a Dataset.""" - stream = cStringIO.StringIO() + stream = StringIO() page = markup.page() page.table.open()