Removing unused path parameter
The path parameter is not used in the function.pull/1079/head
parent
0aa7644cd2
commit
f13ba9d6f8
|
@ -190,7 +190,7 @@ class UserGraphService(object):
|
||||||
# Reverse the list since we iterated backwards
|
# Reverse the list since we iterated backwards
|
||||||
return path_ids[::-1]
|
return path_ids[::-1]
|
||||||
|
|
||||||
def _shortest_path(self, source_key, dest_key, path):
|
def _shortest_path(self, source_key, dest_key):
|
||||||
# Use the id to get the Person
|
# Use the id to get the Person
|
||||||
source = self.person(source_key)
|
source = self.person(source_key)
|
||||||
# Update our bfs queue
|
# Update our bfs queue
|
||||||
|
|
Loading…
Reference in New Issue