Merge pull request #6257 from ryanpetrello/shaaaaaaaaaaaame

fix a typo causing tests to fail
This commit is contained in:
Ryan Petrello 2017-05-12 16:51:05 -04:00 committed by GitHub
commit 5b86fc299f

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)