From 63897a2f5fd01c9bcf6c69a9a422be2070adeac9 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Mon, 7 Jun 2010 18:41:26 +0000 Subject: Use 'None' level as base when no BASE_LEVEL is defined --- src/msec/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/msec/config.py b/src/msec/config.py index 2fe0050..a136439 100644 --- a/src/msec/config.py +++ b/src/msec/config.py @@ -196,7 +196,7 @@ class MsecConfig: def get_base_level(self, base_level=None): """Configures base level for current level, so the settings could be pulled from it""" if not base_level: - base_level = self.get('BASE_LEVEL') + base_level = self.get('BASE_LEVEL', NONE_LEVEL) self.base_level = base_level return self.base_level -- cgit v1.2.1