summaryrefslogtreecommitdiff
path: root/tablib/core.py
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2010-09-25 15:50:06 -0400
committerKenneth Reitz <me@kennethreitz.com>2010-09-25 15:50:06 -0400
commitf1bdf43aab2e6c6a2641fd52086918e3fa0e5b42 (patch)
tree73b91a9cd6f3b7f429075bd2eefe99e3bde73aea /tablib/core.py
parent7623bfe7b09817b3d64e234d630c225b5b3d0bba (diff)
downloadtablib-f1bdf43aab2e6c6a2641fd52086918e3fa0e5b42.tar.gz
Book wiper.
Diffstat (limited to 'tablib/core.py')
-rw-r--r--tablib/core.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py
index 9500d20..849e4bc 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -232,7 +232,10 @@ class Databook(object):
except AttributeError:
return '<databook object>'
-
+ def wipe(self):
+ """Wipe book clean."""
+ self._datasets = []
+
@classmethod
def _register_formats(cls):
"""Adds format properties."""