mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
that makes more sense
This commit is contained in:
+3
-1
@@ -86,7 +86,9 @@ class Row(object):
|
||||
elif isinstance(tag, basestring):
|
||||
return (tag in self.tags)
|
||||
else:
|
||||
return True if len(set(tag) and set(self.tags)) else False
|
||||
return bool(len(set(tag) & set(self.tags)))
|
||||
|
||||
|
||||
|
||||
|
||||
class Dataset(object):
|
||||
|
||||
Reference in New Issue
Block a user