Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/
Date: Thu, 08 Oct 2020 21:16:58
Message-Id: 1602191792.5a731acab6f229b73b204f302107de826ff5664e.mattst88@gentoo
1 commit: 5a731acab6f229b73b204f302107de826ff5664e
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:16:32 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5a731aca
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 (cherry picked from commit b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b)
13
14 catalyst/log.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/catalyst/log.py b/catalyst/log.py
18 index d640dece..26f9a591 100644
19 --- a/catalyst/log.py
20 +++ b/catalyst/log.py
21 @@ -74,7 +74,7 @@ class CatalystFormatter(logging.Formatter):
22 @staticmethod
23 def detect_color():
24 """Figure out whether the runtime env wants color"""
25 - if 'NOCOLOR' is os.environ:
26 + if 'NOCOLOR' in os.environ:
27 return False
28 return os.isatty(sys.stdout.fileno())