renamed variable to avoid confusion

This commit is contained in:
Bernardo Damele 2013-02-07 14:19:07 +00:00
parent 07fe6d44fb
commit d015bf98fc

View File

@ -20,14 +20,14 @@ LOGGER_HANDLER = None
try: try:
from thirdparty.ansistrm.ansistrm import ColorizingStreamHandler from thirdparty.ansistrm.ansistrm import ColorizingStreamHandler
disableColoring = False disableColor = False
for argument in sys.argv: for argument in sys.argv:
if "disable-col" in argument: if "disable-col" in argument:
disableColoring = True disableColor = True
break break
if disableColoring: if disableColor:
LOGGER_HANDLER = logging.StreamHandler(sys.stdout) LOGGER_HANDLER = logging.StreamHandler(sys.stdout)
else: else:
LOGGER_HANDLER = ColorizingStreamHandler(sys.stdout) LOGGER_HANDLER = ColorizingStreamHandler(sys.stdout)