gen_back not get_back

This commit is contained in:
Thomas S Hatch 2012-12-31 16:39:13 -07:00
parent b076a1b9bc
commit 24ec6492a5

View File

@ -155,7 +155,7 @@ class Fileserver(object):
ret = set()
if 'env' not in load:
return []
for fsb in self._get_back(None):
for fsb in self._gen_back(None):
fstr = '{0}.file_list'.format(fsb)
if fstr in self.servers:
ret.update(self.servers[fstr](load))
@ -168,7 +168,7 @@ class Fileserver(object):
ret = set()
if 'env' not in load:
return []
for fsb in self._get_back(None):
for fsb in self._gen_back(None):
fstr = '{0}.file_list_emptydirs'.format(fsb)
if fstr in self.servers:
ret.update(self.servers[fstr](load))
@ -181,7 +181,7 @@ class Fileserver(object):
ret = set()
if 'env' not in load:
return []
for fsb in self._get_back(None):
for fsb in self._gen_back(None):
fstr = '{0}.dir_list'.format(fsb)
if fstr in self.servers:
ret.update(self.servers[fstr](load))