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 BCAB7138359 for ; Thu, 8 Oct 2020 21:17:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8C26E0798; Thu, 8 Oct 2020 21:17:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B2129E0798 for ; Thu, 8 Oct 2020 21:17:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6F9AF33BED9 for ; Thu, 8 Oct 2020 21:17:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA61333A for ; Thu, 8 Oct 2020 21:17:46 +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: <1602191703.b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master 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: b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b X-VCS-Branch: master Date: Thu, 8 Oct 2020 21:17:46 +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: a93f9fbf-d041-4a13-84ed-00c985cf9984 X-Archives-Hash: 40b90ea141b1499f8e4b21202341e3eb commit: b3f0a3535e3550ed7d0dbd3100e43b82e9b34c3b Author: Matt Turner gentoo org> AuthorDate: Thu Oct 8 21:15:03 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Oct 8 21:15:03 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b3f0a353 catalyst: Fix typo Fixes: 3c5ef2e7 ("log: new logging module to standardize catalyst output") Signed-off-by: Matt Turner gentoo.org> catalyst/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())