From b88824a70cadba5217d2a5006b92e6446decd71d Mon Sep 17 00:00:00 2001 From: IgorKlopov Date: Mon, 8 Dec 2014 20:00:35 +0300 Subject: [PATCH] verbose_mode getter/setter --- script/lib/config.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/script/lib/config.py b/script/lib/config.py index 21cc8828b50..395fcd36ea8 100644 --- a/script/lib/config.py +++ b/script/lib/config.py @@ -23,3 +23,13 @@ TARGET_PLATFORM = { 'linux2': 'linux', 'win32': 'win32', }[sys.platform] + +verbose_mode = False + +def enable_verbose_mode(): + print 'Running in verbose mode' + global verbose_mode + verbose_mode = True + +def is_verbose_mode(): + return verbose_mode