diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2010-11-21 18:58:30 -0500 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2010-11-21 18:58:30 -0500 |
| commit | 22d337790acc82e8760e1dd261c47c93297f1d21 (patch) | |
| tree | e490e36ccfd9e982e059c8313253a4be8430bb53 /tablib | |
| parent | 0784d4b32c109515d6d919caf2b07e90caf5ae49 (diff) | |
| download | tablib-22d337790acc82e8760e1dd261c47c93297f1d21.tar.gz | |
small changes to html output
Diffstat (limited to 'tablib')
| -rw-r--r-- | tablib/formats/_html.py | 5 |
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() |
