mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 22:05:07 -02:30
Delete unused contains method (#16346)
This commit is contained in:
@@ -48,11 +48,6 @@ class SimpleDAG(object):
|
|||||||
'''
|
'''
|
||||||
self.node_to_edges_by_label = dict()
|
self.node_to_edges_by_label = dict()
|
||||||
|
|
||||||
def __contains__(self, obj):
|
|
||||||
if self.node['node_object'] in self.node_obj_to_node_index:
|
|
||||||
return True
|
|
||||||
return False
|
|
||||||
|
|
||||||
def __len__(self):
|
def __len__(self):
|
||||||
return len(self.nodes)
|
return len(self.nodes)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user