public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/
Date: Thu,  8 Oct 2020 21:16:54 +0000 (UTC)	[thread overview]
Message-ID: <1602191792.5a731acab6f229b73b204f302107de826ff5664e.mattst88@gentoo> (raw)

commit:     5a731acab6f229b73b204f302107de826ff5664e
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  8 21:15:03 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Oct  8 21:16:32 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5a731aca

catalyst: Fix typo

Fixes: 3c5ef2e7 ("log: new logging module to standardize catalyst output")
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
(cherry picked from commit b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b)

 catalyst/log.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalyst/log.py b/catalyst/log.py
index d640dece..26f9a591 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())
 


             reply	other threads:[~2020-10-08 21:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08 21:16 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-17 23:40 [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/ Matt Turner
2022-10-01 16:27 Matt Turner
2022-01-30 21:02 Matt Turner
2021-07-06 22:13 Matt Turner
2021-06-11  4:14 Matt Turner
2021-06-06 22:38 Matt Turner
2021-03-04 17:18 Ben Kohler
2021-03-04 17:18 Ben Kohler
2020-12-16 16:04 Matt Turner
2020-10-03 16:05 Matt Turner
2020-09-19 18:29 Matt Turner
2020-05-19 16:20 Matt Turner
2020-05-19 15:49 Matt Turner
2020-05-18 20:02 Matt Turner
2020-05-17 18:25 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1602191792.5a731acab6f229b73b204f302107de826ff5664e.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox