Fixed #28226 -- Replaced use of str.join() with concatenation.

This commit is contained in:
Tom 2017-05-20 22:16:36 +01:00 committed by Tim Graham
parent 94475aab80
commit 7afb476469
10 changed files with 22 additions and 19 deletions

View file

@ -1282,8 +1282,8 @@ class Prefetch:
return obj_dict
def add_prefix(self, prefix):
self.prefetch_through = LOOKUP_SEP.join([prefix, self.prefetch_through])
self.prefetch_to = LOOKUP_SEP.join([prefix, self.prefetch_to])
self.prefetch_through = prefix + LOOKUP_SEP + self.prefetch_through
self.prefetch_to = prefix + LOOKUP_SEP + self.prefetch_to
def get_current_prefetch_to(self, level):
return LOOKUP_SEP.join(self.prefetch_to.split(LOOKUP_SEP)[:level + 1])