Minor bug was causing reference shadowing.

This commit is contained in:
Kenneth Reitz
2010-11-04 12:05:39 -04:00
parent a58bf269d9
commit 00e9ae0120
+1 -1
View File
@@ -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