Module: check_mk
Branch: master
Commit: e473de76aa384c8d3042b8f3bb1b4238ba3ee157
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e473de76aa384c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Feb 8 18:40:11 2016 +0100
Put import bi again into plugins/views/painters.py
This break an arkane exception
---
web/htdocs/views.py | 2 +-
web/plugins/views/painters.py | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index df3f5eb..babed74 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -25,7 +25,7 @@
# Boston, MA 02110-1301 USA.
import config, defaults, livestatus, time, os, re, pprint, time
-import weblib, traceback, forms, valuespec, inventory, visuals, metrics, bi
+import weblib, traceback, forms, valuespec, inventory, visuals, metrics
from lib import *
# Datastructures and functions needed before plugins can be loaded
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index d87d596..bb93b2e 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -62,6 +62,9 @@
# styles are not modular and all defined in check_mk.css. This will
# change in future.
+import bi # Needed for BI Icon. For arkane reasons (ask htdocs/module.py) this
+ # cannot be imported in views.py directly.
+
# .--Painter Options-----------------------------------------------------.
# | ____ _ _ |
# | | _ \ __ _(_)_ __ | |_ ___ _ __ |