Remove Tower reference from email backend

This commit is contained in:
Matthew Jones
2017-07-31 12:00:19 -04:00
parent fb850d9644
commit e64d13486f

View File

@@ -25,7 +25,7 @@ class CustomEmailBackend(EmailBackend):
if "body" in body: if "body" in body:
body_actual = body['body'] body_actual = body['body']
else: else:
body_actual = smart_text(_("{} #{} had status {} on Ansible Tower, view details at {}\n\n").format( body_actual = smart_text(_("{} #{} had status {}, view details at {}\n\n").format(
body['friendly_name'], body['id'], body['status'], body['url']) body['friendly_name'], body['id'], body['status'], body['url'])
) )
body_actual += json.dumps(body, indent=4) body_actual += json.dumps(body, indent=4)