From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-catalyst+bounces-3284-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2DE4513888F for <garchives@archives.gentoo.org>; Tue, 6 Oct 2015 15:06:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FAAA21C04C; Tue, 6 Oct 2015 15:05:38 +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 A6D7921C038 for <gentoo-catalyst@lists.gentoo.org>; Tue, 6 Oct 2015 15:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EA72F340A8E for <gentoo-catalyst@lists.gentoo.org>; Tue, 6 Oct 2015 15:05:36 +0000 (UTC) From: Mike Frysinger <vapier@gentoo.org> To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 09/13] lint: mark unused func args Date: Tue, 6 Oct 2015 11:05:25 -0400 Message-Id: <1444143929-26705-9-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.5.2 In-Reply-To: <1444143929-26705-1-git-send-email-vapier@gentoo.org> References: <1444143929-26705-1-git-send-email-vapier@gentoo.org> Precedence: bulk List-Post: <mailto:gentoo-catalyst@lists.gentoo.org> List-Help: <mailto:gentoo-catalyst+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-catalyst+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-catalyst+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-catalyst.gentoo.org> X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: c5867326-9cbb-4f33-902f-dd4a824f34e1 X-Archives-Hash: c8a5e62c9702b951c707af3af06d3843 Since these aren't used, the linter will warn, but these are callbacks that expect a certain API, so add a _ prefix to quiet it down. --- bin/catalyst | 2 +- doc/make_target_table.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/catalyst b/bin/catalyst index 19f5289..d0bc153 100755 --- a/bin/catalyst +++ b/bin/catalyst @@ -16,7 +16,7 @@ import sys try: import signal - def exithandler(signum,frame): + def exithandler(_signum, _frame): signal.signal(signal.SIGINT, signal.SIG_IGN) signal.signal(signal.SIGTERM, signal.SIG_IGN) print() diff --git a/doc/make_target_table.py b/doc/make_target_table.py index 9e7ebe8..f127c37 100755 --- a/doc/make_target_table.py +++ b/doc/make_target_table.py @@ -16,7 +16,7 @@ import glob import re -def key_netboot_before_netboot2((target_name, module)): +def key_netboot_before_netboot2((target_name, _module)): return target_name + '1' -- 2.5.2