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 2EA4513888F for ; Mon, 12 Oct 2015 04:36:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27CF4E085D; Mon, 12 Oct 2015 04:36:08 +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 0F366E07C5 for ; Mon, 12 Oct 2015 04:36:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 21B2133D3D0 for ; Mon, 12 Oct 2015 04:36:06 +0000 (UTC) From: Mike Frysinger To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 3/9] stagebase: disable undefined-variable lint warning Date: Mon, 12 Oct 2015 00:35:56 -0400 Message-Id: <1444624562-26162-3-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.5.2 In-Reply-To: <1444624562-26162-1-git-send-email-vapier@gentoo.org> References: <1444624562-26162-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: 5d42a5a4-4ad8-4714-b27c-489e4c52f24e X-Archives-Hash: 0a933fc2ecb7835b4acd9ce7d3a6460b raw_input doesn't exist w/py3, so pylint complains. Disable the warning for this one line since we know it's fine. --- catalyst/base/stagebase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index a4832ec..770ce76 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -28,7 +28,7 @@ from catalyst.base.resume import AutoResume if sys.version_info[0] >= 3: py_input = input else: - py_input = raw_input + py_input = raw_input # pylint: disable=undefined-variable class StageBase(TargetBase, ClearBase, GenBase): -- 2.5.2