summaryrefslogtreecommitdiff
path: root/tablib
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-11-21 18:58:30 -0500
committerKenneth Reitz <me@kennethreitz.com>2010-11-21 18:58:30 -0500
commit22d337790acc82e8760e1dd261c47c93297f1d21 (patch)
treee490e36ccfd9e982e059c8313253a4be8430bb53 /tablib
parent0784d4b32c109515d6d919caf2b07e90caf5ae49 (diff)
downloadtablib-22d337790acc82e8760e1dd261c47c93297f1d21.tar.gz
small changes to html output
Diffstat (limited to 'tablib')
-rw-r--r--tablib/formats/_html.py5
1 files 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()