diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2010-11-21 21:32:00 -0500 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2010-11-21 21:32:00 -0500 |
| commit | e3b3659ea40151eb849e3f53555900b7ba2c7d43 (patch) | |
| tree | 4b604d456eb53813a0e6cfc3b7f0b5b9881fa8ee /tablib/formats/_json.py | |
| parent | 22d337790acc82e8760e1dd261c47c93297f1d21 (diff) | |
| download | tablib-e3b3659ea40151eb849e3f53555900b7ba2c7d43.tar.gz | |
whitespace fix
Diffstat (limited to 'tablib/formats/_json.py')
| -rw-r--r-- | tablib/formats/_json.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tablib/formats/_json.py b/tablib/formats/_json.py index da31b23..7f31ee5 100644 --- a/tablib/formats/_json.py +++ b/tablib/formats/_json.py @@ -26,11 +26,11 @@ def export_set(dataset): def export_book(databook): """Returns JSON representation of Databook.""" return json.dumps(databook._package()) - + def import_set(dset, in_stream): """Returns dataset from JSON stream.""" - + dset.wipe() dset.dict = json.loads(in_stream) @@ -52,4 +52,4 @@ def detect(stream): json.loads(stream) return True except ValueError: - return False
\ No newline at end of file + return False |
