Removed unused Prefetch.get_current_prefetch_through().

Unused since its introduction in f51c1f5900.
This commit is contained in:
Tim Graham 2016-09-23 17:11:15 -04:00
parent 0a6ed6b1d9
commit f4bde7d9a1
1 changed files with 0 additions and 3 deletions

View File

@ -1329,9 +1329,6 @@ class Prefetch(object):
self.prefetch_through = LOOKUP_SEP.join([prefix, self.prefetch_through]) self.prefetch_through = LOOKUP_SEP.join([prefix, self.prefetch_through])
self.prefetch_to = LOOKUP_SEP.join([prefix, self.prefetch_to]) self.prefetch_to = LOOKUP_SEP.join([prefix, self.prefetch_to])
def get_current_prefetch_through(self, level):
return LOOKUP_SEP.join(self.prefetch_through.split(LOOKUP_SEP)[:level + 1])
def get_current_prefetch_to(self, level): def get_current_prefetch_to(self, level):
return LOOKUP_SEP.join(self.prefetch_to.split(LOOKUP_SEP)[:level + 1]) return LOOKUP_SEP.join(self.prefetch_to.split(LOOKUP_SEP)[:level + 1])