summaryrefslogtreecommitdiffstats
path: root/awxkit/awxkit/api/pages/notification_templates.py
diff options
context:
space:
mode:
Diffstat (limited to 'awxkit/awxkit/api/pages/notification_templates.py')
-rw-r--r--awxkit/awxkit/api/pages/notification_templates.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/awxkit/awxkit/api/pages/notification_templates.py b/awxkit/awxkit/api/pages/notification_templates.py
index 927daaf775..3d33300ce8 100644
--- a/awxkit/awxkit/api/pages/notification_templates.py
+++ b/awxkit/awxkit/api/pages/notification_templates.py
@@ -15,7 +15,6 @@ notification_types = ('email', 'irc', 'pagerduty', 'slack', 'twilio', 'webhook',
class NotificationTemplate(HasCopy, HasCreate, base.Base):
-
dependencies = [Organization]
NATURAL_KEY = ('organization', 'name')
@@ -40,7 +39,7 @@ class NotificationTemplate(HasCopy, HasCreate, base.Base):
"""
try:
super(NotificationTemplate, self).silent_delete()
- except (exc.MethodNotAllowed):
+ except exc.MethodNotAllowed:
pass
def payload(self, organization, notification_type='slack', messages=not_provided, **kwargs):
@@ -156,7 +155,6 @@ page.register_page(
class NotificationTemplates(page.PageList, NotificationTemplate):
-
pass
@@ -175,7 +173,6 @@ page.register_page(
class NotificationTemplateCopy(base.Base):
-
pass
@@ -183,7 +180,6 @@ page.register_page(resources.notification_template_copy, NotificationTemplateCop
class NotificationTemplateTest(base.Base):
-
pass