fix a typo causing tests to fail

This commit is contained in:
Ryan Petrello 2017-05-12 15:04:40 -04:00
parent 754f698b9b
commit 1ba71acf07

View File

@ -1307,7 +1307,7 @@ class JobTemplateAccess(BaseAccess):
def can_unattach(self, obj, sub_obj, relationship, *args, **kwargs):
if relationship == "instance_groups":
return self.can_attach(obj, sub_obj, relationship, *args, **kwargs)
return super(InventoryAccess, self).can_attach(obj, sub_obj, relationship, *args, **kwargs)
return super(JobTemplateAccess, self).can_attach(obj, sub_obj, relationship, *args, **kwargs)