Module: check_mk
Branch: master
Commit: 9fe4ba9d37d7d365feb20a4dae9be6a53dd4e526
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9fe4ba9d37d7d3…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Apr 25 15:53:03 2012 +0200
Remove unused variable
---
.bugs/681 | 10 ++++++++++
web/htdocs/wato.py | 1 -
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/.bugs/681 b/.bugs/681
new file mode 100644
index 0000000..70ff811
--- /dev/null
+++ b/.bugs/681
@@ -0,0 +1,10 @@
+Title: load_plugins should raise error if plugin is broken
+Component: multisite
+State: open
+Date: 2012-04-25 10:45:52
+Targetversion: 1.2.0
+Class: nastiness
+
+When loading plugins (e.g. WATO rule_specs), and there is a syntax
+or other error in the plugin, an Exception should be raised.
+Currently the plugin is silently ignored.
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index fe2801f..e89a814 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8210,7 +8210,6 @@ def mode_edit_hosttag(phase):
html.write("</td></tr>")
# Choices
- num_choices = 16
html.write("<tr><td class=legend>")
html.write(_("Choices") + "<br><i>" +
_("The first choice of a tag group will be its default value. "