Module: check_mk
Branch: master
Commit: e2094532e28fb4abd8920b9ce62a144b6c8231d5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e2094532e28fb4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sat Oct 13 14:54:46 2018 +0200
Prevent circular import
The circular import was caused by view helper functions in cmk.gui.utils
needing the global html object. Moved these functions to
cmk.gui.view_utils.
Change-Id: I8aefffa4c418987e630722a96e4b98c498393584
---
cmk/gui/bi.py | 7 +--
cmk/gui/log.py | 2 +-
cmk/gui/mobile.py | 10 ++--
cmk/gui/plugins/views/utils.py | 5 +-
cmk/gui/utils.py | 86 -------------------------------
cmk/gui/view_utils.py | 114 +++++++++++++++++++++++++++++++++++++++++
cmk/gui/views.py | 3 +-
cmk/gui/wato/__init__.py | 3 +-
8 files changed, 131 insertions(+), 99 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=e2094532e2…