summaryrefslogtreecommitdiff
path: root/tablib
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-03-23 03:56:07 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-03-23 03:56:07 -0400
commit0913b54f4728d3d49a0890e08c07a9043ae6ce0b (patch)
tree6deb662a30356cc8a1425a633f83dc35d69fc71f /tablib
parentc5bbc74b96cc04254c39f8586e4d976a98b8d02a (diff)
downloadtablib-0913b54f4728d3d49a0890e08c07a9043ae6ce0b.tar.gz
this isn't an apple
Diffstat (limited to 'tablib')
-rw-r--r--tablib/formats/_yaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/formats/_yaml.py b/tablib/formats/_yaml.py
index cc916f4..66800a7 100644
--- a/tablib/formats/_yaml.py
+++ b/tablib/formats/_yaml.py
@@ -46,7 +46,7 @@ def import_book(dbook, in_stream):
dbook.wipe()
for sheet in yaml.load(in_stream):
- data = tablib.core.Dataset()
+ data = tablib.Dataset()
data.title = sheet['title']
data.dict = sheet['data']
dbook.add_sheet(data)