From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 61C66138359 for ; Thu, 8 Oct 2020 21:16:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C10DEE0903; Thu, 8 Oct 2020 21:16:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5977E0903 for ; Thu, 8 Oct 2020 21:16:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3355C33BEFE for ; Thu, 8 Oct 2020 21:16:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DD3F33A for ; Thu, 8 Oct 2020 21:16:54 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1602191792.5a731acab6f229b73b204f302107de826ff5664e.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/log.py X-VCS-Directories: catalyst/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 5a731acab6f229b73b204f302107de826ff5664e X-VCS-Branch: catalyst-3.0-stable Date: Thu, 8 Oct 2020 21:16:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8a1c85ed-3f13-477f-8a16-2fafa8cb71db X-Archives-Hash: 1ad160b4fb14d2033991c99d2dad7bef commit: 5a731acab6f229b73b204f302107de826ff5664e Author: Matt Turner gentoo org> AuthorDate: Thu Oct 8 21:15:03 2020 +0000 Commit: Matt Turner gentoo 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 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())