Rip out dead method morePossibleDescriptions. NFC.
This code is already present in `getPossibleDescriptions`... which is also a terrible function from the philosophical point of view, because it secretly encodes knowledge about every predicate known to the system.
This commit is contained in:
@ -220,14 +220,6 @@ class Group(WorkspaceObject):
|
||||
return False
|
||||
return True
|
||||
|
||||
def morePossibleDescriptions(self, node):
|
||||
slipnet = self.ctx.slipnet
|
||||
result = []
|
||||
for i, number in enumerate(slipnet.numbers, 1):
|
||||
if node == number and len(self.objects) == i:
|
||||
result += [node]
|
||||
return result
|
||||
|
||||
def distinguishingDescriptor(self, descriptor):
|
||||
"""Whether no other object of the same type has the same descriptor"""
|
||||
if not WorkspaceObject.distinguishingDescriptor(self, descriptor):
|
||||
|
||||
Reference in New Issue
Block a user