name changed to protect the innocent

This commit is contained in:
fawce
2015-02-09 12:27:30 -05:00
parent 1c2560a1fa
commit e3b21835f3
+2 -2
View File
@@ -86,7 +86,7 @@ class SecurityListSet(object):
def __init__(self, current_date_func, lookup_func=None):
# provide a cut point to substitute other security
# list implementations.
self.sl_constructor = SecurityList
self.security_list_type = SecurityList
if lookup_func is None:
self.lookup_func = loopback
else:
@@ -97,7 +97,7 @@ class SecurityListSet(object):
@property
def leveraged_etf_list(self):
if self._leveraged_etf is None:
self._leveraged_etf = self.sl_constructor(
self._leveraged_etf = self.security_list_type(
self.lookup_func,
load_from_directory('leveraged_etf_list'),
self.current_date_func