Compare commits

..

6 Commits

Author SHA1 Message Date
Kenneth Reitz 09d057094e Merge branch 'release/0.9.1' 2010-11-04 12:07:52 -04:00
Kenneth Reitz 8082c4ad43 Version bump (v0.9.1). 2010-11-04 12:07:37 -04:00
Kenneth Reitz 00e9ae0120 Minor bug was causing reference shadowing. 2010-11-04 12:05:39 -04:00
Kenneth Reitz f01c22213e Merge branch 'develop' 2010-11-04 05:54:01 -04:00
Kenneth Reitz a58bf269d9 Typo. 2010-11-04 05:53:45 -04:00
Kenneth Reitz 437a135dd3 Merge branch 'release/0.9.0' into develop 2010-11-04 05:47:36 -04:00
3 changed files with 10 additions and 5 deletions
+5
View File
@@ -1,6 +1,11 @@
History
-------
0.9.1 (2010-11-04)
++++++++++++++++++
* Minor reference shadowing bugfix
0.9.0 (2010-11-04)
++++++++++++++++++
+1 -1
View File
@@ -19,7 +19,7 @@ required = []
setup(
name='tablib',
version='0.9.0',
version='0.9.1',
description='Format agnostic tabular data library (XLS, JSON, YAML, CSV)',
long_description=open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read(),
+4 -4
View File
@@ -15,8 +15,8 @@ from tablib import formats
__title__ = 'tablib'
__version__ = '0.9.0'
__build__ = 0x000900
__version__ = '0.9.1'
__build__ = 0x000901
__author__ = 'Kenneth Reitz'
__license__ = 'MIT'
__copyright__ = 'Copyright 2010 Kenneth Reitz'
@@ -378,7 +378,7 @@ class Dataset(object):
headers, if they have been set. Otherwise, the top row will contain
the first row of the dataset.
A dataset object can also be imported by setting the :class:`Dataset.csv` attribute. ::
A dataset object can also be imported by setting the :class:`Dataset.tsv` attribute. ::
data = tablib.Dataset()
data.tsv = 'age\tfirst_name\tlast_name\\n90\tJohn\tAdams'
@@ -507,7 +507,7 @@ class Dataset(object):
that do not contain the given :ref:`tags <tags>`.
"""
_dset = copy(self)
_dset._data[:] = [row for row in self._data if row.has_tag(tag)]
_dset._data = [row for row in _dset._data if row.has_tag(tag)]
return _dset