[checkmk-commits] Fix recent bug in error handler in logwatch

Mathias Kettner mk at mathias-kettner.de
Thu May 12 13:10:15 CEST 2016


Module: check_mk
Branch: master
Commit: 1272a35dd894d924ef6665d27d2708483143e85c
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1272a35dd894d924ef6665d27d2708483143e85c

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Thu May 12 13:10:05 2016 +0200

Fix recent bug in error handler in logwatch

---

 web/htdocs/logwatch.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/htdocs/logwatch.py b/web/htdocs/logwatch.py
index cec2ff0..88a2642 100644
--- a/web/htdocs/logwatch.py
+++ b/web/htdocs/logwatch.py
@@ -310,7 +310,7 @@ def do_log_ack(site, host_name, file_name):
         except Exception, e:
             html.show_error(_('The log file <tt>%s</tt> of host <tt>%s</tt> could not be deleted: %s.') % \
                                       (html.attrencode(display_name), html.attrencode(this_host), e))
-            htmt.footer()
+            html.footer()
             return
 
     html.message('<b>%s</b><p>%s</p>' % (



More information about the checkmk-commits mailing list