Module: check_mk
Branch: master
Commit: f0749a8f1a12a493a137fc541b0f29606bb35570
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f0749a8f1a12a4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Oct 20 08:52:05 2016 +0200
Added missing import module
---
cmk_base/console.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmk_base/console.py b/cmk_base/console.py
index 7db75dc..8ead6cd 100644
--- a/cmk_base/console.py
+++ b/cmk_base/console.py
@@ -29,6 +29,7 @@ of console input / output"""
import sys
+import cmk.tty as tty
import cmk.log
logger = cmk.log.get_logger("base")
@@ -75,4 +76,4 @@ def warning(text, *args):
text = "%s%s%sWARNING:%s %s\n" % (indent, tty.bold, tty.yellow, tty.normal,
stripped)
- console.output(text, *args, stream=sys.stderr)
+ output(text, *args, stream=sys.stderr)