diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-10-08 14:15:03 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-10-08 14:15:03 -0700 |
commit | b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b (patch) | |
tree | 73968d2835463637daeeb840b8a881329c8d0dc5 | |
parent | targets: Remove ancient locale-deleting code (diff) | |
download | catalyst-b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b.tar.gz catalyst-b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b.tar.bz2 catalyst-b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b.zip |
catalyst: Fix typo
Fixes: 3c5ef2e7 ("log: new logging module to standardize catalyst output")
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | catalyst/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalyst/log.py b/catalyst/log.py index 9d534355..ee124392 100644 --- a/catalyst/log.py +++ b/catalyst/log.py @@ -74,7 +74,7 @@ class CatalystFormatter(logging.Formatter): @staticmethod def detect_color(): """Figure out whether the runtime env wants color""" - if 'NOCOLOR' is os.environ: + if 'NOCOLOR' in os.environ: return False return os.isatty(sys.stdout.fileno()) |