Merge pull request #651 from quantopian/remove-string-is-checks

BUG: Replaces is-check against string
This commit is contained in:
Scott Sanderson
2015-07-14 15:39:21 -04:00
+1 -1
View File
@@ -877,7 +877,7 @@ class AssetFinder(object):
try:
row_value = row[field]
# Avoid passing placeholders
if row_value and (row_value is not 'None'):
if row_value and (row_value != 'None'):
metadata_dict[field] = row[field]
except KeyError:
continue