Fix accidental deletions, update docstrings...

... and update migration file for rebase.
This commit is contained in:
beeankha
2019-08-19 09:39:11 -04:00
committed by Ryan Petrello
parent 667fce5012
commit aab04bcbb1
3 changed files with 7 additions and 4 deletions

View File

@@ -465,7 +465,6 @@ class JobNotificationMixin(object):
from awx.main.tasks import send_notifications # avoid circular import
if status not in ['running', 'succeeded', 'failed']:
raise ValueError(_("status must be either running, succeeded or failed"))
try:
notification_templates = self.get_notification_templates()
except Exception: