Module: check_mk
Branch: master
Commit: bc604396695164b2bc4b759098d3aaf46a5fc6cd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bc604396695164…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 4 14:42:11 2016 +0100
Fixed circular module dependency between views/bi causing modules to be imported multiple
times
---
web/htdocs/bi.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/web/htdocs/bi.py b/web/htdocs/bi.py
index 019f7b9..b4c5200 100644
--- a/web/htdocs/bi.py
+++ b/web/htdocs/bi.py
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-import config, re, pprint, time, views
+import config, re, pprint, time
import sites
from lib import *
@@ -1913,9 +1913,6 @@ def singlehost_table(columns, add_headers, only_sites, limit,
filters, joinbynam
hostrows = get_status_info_filtered(filter_code, only_sites, limit, host_columns,
config.bi_precompile_on_demand, bygroup)
log("* Got %d host rows" % len(hostrows))
- # if limit:
- # views.check_limit(hostrows, limit)
-
# Apply aggregation group filter. This is important for performance. We
# must not compute any aggregations from other aggregation groups and filter
# them later out again.