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 694AC13888F for ; Tue, 6 Oct 2015 17:03:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04C3D21C001; Tue, 6 Oct 2015 17:03:17 +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 681F721C001 for ; Tue, 6 Oct 2015 17:03:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4328E340961 for ; Tue, 6 Oct 2015 17:03:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9E2FAE0 for ; Tue, 6 Oct 2015 17:03:11 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1444147092.019eca4e09848978975284802913dee574c41c96.vapier@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/base/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/base/stagebase.py X-VCS-Directories: catalyst/base/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 019eca4e09848978975284802913dee574c41c96 X-VCS-Branch: master Date: Tue, 6 Oct 2015 17:03:11 +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-Archives-Salt: aca3797d-4d67-49b0-9ce5-2d15ab66bf59 X-Archives-Hash: 16e897fba228b225143034fac19d8f9a commit: 019eca4e09848978975284802913dee574c41c96 Author: Mike Frysinger gentoo org> AuthorDate: Tue Oct 6 15:58:12 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Oct 6 15:58:12 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=019eca4e lint: drop use of apply() This builtin has been deprecated since python-2.3, so call the function directly instead of via apply. 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 7bc7522..fcdf729 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -1426,7 +1426,7 @@ class StageBase(TargetBase, ClearBase, GenBase): print "--- Running action sequence: "+x sys.stdout.flush() try: - apply(getattr(self,x)) + getattr(self, x)() except LockInUse: print "Error, unable to aquire the lock..." print " Catalyst aborting...."