Mass rename from ansible_(awx|tower) -> (awx|tower)

This commit is contained in:
Matthew Jones
2017-07-26 10:58:46 -04:00
parent 22e1e14c4f
commit c7a85d9738
35 changed files with 74 additions and 74 deletions

View File

@@ -194,11 +194,11 @@ class JobNotificationMixin(object):
def _build_notification_message(self, status_str):
notification_body = self.notification_data()
notification_subject = u"{} #{} '{}' {} on Ansible Tower: {}".format(self.get_notification_friendly_name(),
self.id,
self.name,
status_str,
notification_body['url'])
notification_subject = u"{} #{} '{}' {}: {}".format(self.get_notification_friendly_name(),
self.id,
self.name,
status_str,
notification_body['url'])
notification_body['friendly_name'] = self.get_notification_friendly_name()
return (notification_subject, notification_body)