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 E1EB913888F for ; Tue, 6 Oct 2015 13:46:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9878C21C028; Tue, 6 Oct 2015 13:46:25 +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 BD8D921C007 for ; Tue, 6 Oct 2015 13:46:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03FF8340B0B for ; Tue, 6 Oct 2015 13:46:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CCF3AB8 for ; Tue, 6 Oct 2015 13:46:18 +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: <1444102159.ce11f7e38d2e309359a6bf8963f4f7a0569fdc52.vapier@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/lock.py X-VCS-Directories: catalyst/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: ce11f7e38d2e309359a6bf8963f4f7a0569fdc52 X-VCS-Branch: master Date: Tue, 6 Oct 2015 13:46:18 +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: 6d44067b-694a-4f48-8518-fd1d6923c547 X-Archives-Hash: 26e1bdcf9a21eb95f526b5e4b791d885 commit: ce11f7e38d2e309359a6bf8963f4f7a0569fdc52 Author: Mike Frysinger gentoo org> AuthorDate: Tue Oct 6 03:29:19 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Oct 6 03:29:19 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ce11f7e3 lock: fix hardlink_active definition This is a member function of a class, so it must have a |self| argument first. The current code is clearly broken otherwise. Not that it seems to matter as there aren't any callers in the current codebase. catalyst/lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/lock.py b/catalyst/lock.py index a6f9d3a..9f954eb 100644 --- a/catalyst/lock.py +++ b/catalyst/lock.py @@ -354,7 +354,7 @@ class LockDir: return True return False - def hardlink_active(lock): + def hardlink_active(self, lock): if not os.path.exists(lock): return False