summaryrefslogtreecommitdiff
path: root/tablib/core.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.org>2016-02-07 07:01:13 -0500
committerKenneth Reitz <me@kennethreitz.org>2016-02-07 07:01:13 -0500
commit1d4f4b68ca833a797fc34ff8676f113edf0f64f7 (patch)
treee3edac6e0da11d568bc32949761a86c34831a043 /tablib/core.py
parent8debeb26aca7cc9ef427c70ee9d577eb169f9560 (diff)
downloadtablib-1d4f4b68ca833a797fc34ff8676f113edf0f64f7.tar.gz
cleanup
Diffstat (limited to 'tablib/core.py')
-rw-r--r--tablib/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tablib/core.py b/tablib/core.py
index cf60967..7d09789 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -255,6 +255,7 @@ class Dataset(object):
setattr(cls, fmt.title, property(fmt.export_set))
cls._formats[fmt.title] = (fmt.export_set, None)
setattr(cls, 'get_%s' % fmt.title, fmt.export_set)
+ setattr(cls, 'set_%s' % fmt.title, fmt.import_set)
except AttributeError:
cls._formats[fmt.title] = (None, None)