From 3153bdfa8ae3264f03248997b9814350c0f46e51 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 9 Aug 2011 17:59:04 -0400 Subject: [PATCH] save debug setting as self.debug --- src/pylorax/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index bbb0d4dd..90224a4c 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -95,8 +95,8 @@ class Lorax(BaseLoraxClass): self.conf.read(conf_file) # set up the output - debug = self.conf.getboolean("lorax", "debug") - output_level = output.DEBUG if debug else output.INFO + self.debug = self.conf.getboolean("lorax", "debug") + output_level = output.DEBUG if self.debug else output.INFO colors = self.conf.getboolean("output", "colors") encoding = self.conf.get("output", "encoding")