Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/
Date: Thu, 08 Oct 2020 21:17:50
Message-Id: 1602191703.b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b.mattst88@gentoo
1 commit: b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 8 21:15:03 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 8 21:15:03 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b3f0a353
7
8 catalyst: Fix typo
9
10 Fixes: 3c5ef2e7 ("log: new logging module to standardize catalyst output")
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 catalyst/log.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/catalyst/log.py b/catalyst/log.py
17 index 9d534355..ee124392 100644
18 --- a/catalyst/log.py
19 +++ b/catalyst/log.py
20 @@ -74,7 +74,7 @@ class CatalystFormatter(logging.Formatter):
21 @staticmethod
22 def detect_color():
23 """Figure out whether the runtime env wants color"""
24 - if 'NOCOLOR' is os.environ:
25 + if 'NOCOLOR' in os.environ:
26 return False
27 return os.isatty(sys.stdout.fileno())