From 828e84c4800e2ea294178630755f8428230fa49d Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Wed, 17 Feb 2010 16:50:34 +0100 Subject: [PATCH] Small syntax fix --- nagixsc_http2nagios.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagixsc_http2nagios.py b/nagixsc_http2nagios.py index 4c23fe5..b0e6fd2 100755 --- a/nagixsc_http2nagios.py +++ b/nagixsc_http2nagios.py @@ -111,11 +111,11 @@ class HTTP2NagiosHandler(MyHTTPRequestHandler): self.wfile.write('Wrote %s check results, %s failed' % (count_services, count_failed)) return else: - http_error(500, 'Could not write all %s check results' % count_services) + self.http_error(501, 'Could not write all %s check results' % count_services) return else: - http_error(500, 'Nag(IX)SC - No data received') + self.http_error(502, 'Nag(IX)SC - No data received') return -- 2.30.2