Module: check_mk
Branch: master
Commit: 76476c9ca01e932e7321f89a061e4402bf8e0f0b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=76476c9ca01e93…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Oct 24 08:56:54 2018 +0200
YAPF'd cmk.notification_plugins package.
CMK-1180.
Change-Id: Icb2e8093029b8481c5f853d49f881ed9005fe493
---
cmk/notification_plugins/mail.py | 1 +
cmk/notification_plugins/pushover.py | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk/notification_plugins/mail.py b/cmk/notification_plugins/mail.py
index b260c35..75002e2 100644
--- a/cmk/notification_plugins/mail.py
+++ b/cmk/notification_plugins/mail.py
@@ -44,6 +44,7 @@ from email.mime.text import MIMEText
from cmk.notification_plugins import utils
+
def tmpl_head_html(html_section):
return '''
<html>
diff --git a/cmk/notification_plugins/pushover.py b/cmk/notification_plugins/pushover.py
index 57492c6..4f15461 100644
--- a/cmk/notification_plugins/pushover.py
+++ b/cmk/notification_plugins/pushover.py
@@ -127,6 +127,5 @@ def send_push_notification(api_key, recipient_key, subject, text,
context):
if r_status == '200':
return True
- sys.stdout.write(
- "Failed to send notification. Status: %s, Response: %s\n" % (r_status,
r.text))
+ sys.stdout.write("Failed to send notification. Status: %s, Response: %s\n"
% (r_status, r.text))
return False