From 1ba71acf07e3b657b0f9d217b510213f74862b68 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Fri, 12 May 2017 15:04:40 -0400 Subject: [PATCH] fix a typo causing tests to fail --- awx/main/access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/access.py b/awx/main/access.py index 4994f53e1a..01165191f0 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -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)