From 80f6bde6a6833a1aeafc9746c0273af736aa9b47 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Mon, 15 Sep 2014 22:00:46 +0200 Subject: tests/_bootstrap: fix a thinko preventing debug outputs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... these are expected by default if LOGLEVEL not specified Also, instruct .travis.yml for this level of verbosity. Signed-off-by: Jan Pokorný --- tests/_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/_bootstrap.py') diff --git a/tests/_bootstrap.py b/tests/_bootstrap.py index 91d490f..67cd99a 100644 --- a/tests/_bootstrap.py +++ b/tests/_bootstrap.py @@ -16,7 +16,7 @@ if __name__ != 'main_bootstrap': from os import environ import logging logging.basicConfig() - logging.getLogger().setLevel(environ.get('LOGLEVEL', logging.DEBUG)) + logging.getLogger().setLevel(environ.get('LOGLEVEL') or logging.DEBUG) # inject PYTHONPATH we are to use root = reduce(lambda x, y: dirname(x), xrange(2), abspath(__file__)) -- cgit