MAINT: remove redundant branch

This commit is contained in:
Joe Jevnik
2016-07-20 18:19:11 -04:00
parent e294d43388
commit b7bb6ca6b7
-4
View File
@@ -578,10 +578,6 @@ class AssetFinder(object):
raise SymbolNotFound(symbol=symbol)
if not as_of_date:
if not owners:
# no equity held the fuzzy symbol ever
raise SymbolNotFound(symbol=symbol)
if len(owners) == 1:
# only one valid match
return self.retrieve_asset(owners[0].sid)