Removed unused rest_of_lookups parameter of Query.try_transform().

Unused since 534aaf56f4.
This commit is contained in:
Mads Jensen 2017-03-18 08:55:34 +01:00 committed by Tim Graham
parent 82bb4e684f
commit e45633086c
1 changed files with 3 additions and 3 deletions

View File

@ -1095,13 +1095,13 @@ class Query:
# We didn't find a lookup. We are going to interpret # We didn't find a lookup. We are going to interpret
# the name as transform, and do an Exact lookup against # the name as transform, and do an Exact lookup against
# it. # it.
lhs = self.try_transform(lhs, name, lookups) lhs = self.try_transform(lhs, name)
final_lookup = lhs.get_lookup('exact') final_lookup = lhs.get_lookup('exact')
return final_lookup(lhs, rhs) return final_lookup(lhs, rhs)
lhs = self.try_transform(lhs, name, lookups) lhs = self.try_transform(lhs, name)
lookups = lookups[1:] lookups = lookups[1:]
def try_transform(self, lhs, name, rest_of_lookups): def try_transform(self, lhs, name):
""" """
Helper method for build_lookup(). Try to fetch and initialize Helper method for build_lookup(). Try to fetch and initialize
a transform for name parameter from lhs. a transform for name parameter from lhs.