summaryrefslogtreecommitdiffstats
path: root/tests/_bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/_bootstrap.py')
-rw-r--r--tests/_bootstrap.py2
1 files changed, 1 insertions, 1 deletions
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__))