From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 13CC513888F for ; Sun, 11 Oct 2015 06:29:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 229DAE07D6; Sun, 11 Oct 2015 06:29:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FD3DE07C9 for ; Sun, 11 Oct 2015 06:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 7B0F3340662 for ; Sun, 11 Oct 2015 06:29:16 +0000 (UTC) From: Mike Frysinger To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 03/10] stage3: convert to log module Date: Sun, 11 Oct 2015 02:29:05 -0400 Message-Id: <1444544952-32408-3-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.5.2 In-Reply-To: <1444544952-32408-1-git-send-email-vapier@gentoo.org> References: <1444544952-32408-1-git-send-email-vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: 63012df5-b28f-4e6d-a555-3db70adffbc4 X-Archives-Hash: e663f0461a144469838815d3446c7877 --- catalyst/targets/stage3.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/catalyst/targets/stage3.py b/catalyst/targets/stage3.py index cc3e520..f083193 100644 --- a/catalyst/targets/stage3.py +++ b/catalyst/targets/stage3.py @@ -3,6 +3,7 @@ stage3 target, builds upon previous stage2/stage3 tarball """ # NOTE: That^^ docstring has influence catalyst-spec(5) man page generation. +from catalyst import log from catalyst.base.stagebase import StageBase @@ -18,10 +19,10 @@ class stage3(StageBase): def set_portage_overlay(self): StageBase.set_portage_overlay(self) if "portage_overlay" in self.settings: - print "\nWARNING !!!!!" - print "\tUsing an overlay for earlier stages could cause build issues." - print "\tIf you break it, you buy it. Don't complain to us about it." - print "\tDont say we did not warn you\n" + log.warning( + 'Using an overlay for earlier stages could cause build issues.\n' + "If you break it, you buy it. Don't complain to us about it.\n" + "Don't say we did not warn you.") def set_cleanables(self): StageBase.set_cleanables(self) -- 2.5.2