Module: check_mk
Branch: master
Commit: eb478e24b517e3f7967ab805b825f1dadfe1dfa1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb478e24b517e3…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu May 12 08:42:16 2016 +0200
Fixed syntax error in previous commit
---
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 e85bec9..822620d 100644
--- a/web/htdocs/logwatch.py
+++ b/web/htdocs/logwatch.py
@@ -318,7 +318,7 @@ def do_log_ack(site, host_name, file_name):
html.footer()
-dthis_nameef acknowledge_logfile(site, host_name, int_filename, display_name):
+def acknowledge_logfile(site, host_name, int_filename, display_name):
if not may_see(site, host_name):
raise MKAuthException(_('Permission denied.'))
os.remove(defaults.logwatch_dir + '/' + host_name + '/' +
int_filename)