Module: check_mk
Branch: master
Commit: dd36a672998b9373539ae693b421f981c31a30e5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dd36a672998b93…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Nov 28 09:41:41 2014 +0100
Removed debug output in dashboard editor
---
web/htdocs/dashboard.py | 2 --
web/htdocs/visuals.py | 10 +++-------
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index 5fe7022..00127f5 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -875,8 +875,6 @@ def page_edit_dashlet():
except IndexError:
raise MKGeneralException(_('The dashlet does not exist.'))
- html.debug(dashlet)
-
ty = dashlet['type']
dashlet_type = dashlet_types[ty]
single_infos = dashlet['single_infos']
diff --git a/web/htdocs/visuals.py b/web/htdocs/visuals.py
index e83ebcd..0a81be9 100644
--- a/web/htdocs/visuals.py
+++ b/web/htdocs/visuals.py
@@ -854,13 +854,9 @@ class Filter:
# Is used to populate a value, for example loaded from persistance, into
# the HTML context where it can be used by e.g. the display() method.
def set_value(self, value):
- try:
- val = {}
- for varname in self.htmlvars:
- html.set_var(varname, value.get(varname))
- except:
- html.debug("%r, %s" % (self, self.name))
- raise
+ val = {}
+ for varname in self.htmlvars:
+ html.set_var(varname, value.get(varname))
def get_filter(name):
return multisite_filters[name]