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 EF2EC138BED for ; Tue, 6 Oct 2015 15:31:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 908FC21C022; Tue, 6 Oct 2015 15:31:29 +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 D343021C010 for ; Tue, 6 Oct 2015 15:31:28 +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 DCA35340B23 for ; Tue, 6 Oct 2015 15:31:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1209ACC for ; Tue, 6 Oct 2015 15:31:25 +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: <1444139192.b71beb16153c2fddb4972fb4f727e8b6e9fbcf8c.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: b71beb16153c2fddb4972fb4f727e8b6e9fbcf8c X-VCS-Branch: master Date: Tue, 6 Oct 2015 15:31:25 +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: 579e3bc0-9f2b-4f6f-bee7-c7f0e5503b14 X-Archives-Hash: f3316c4d7d51a25bc58e25613b8d74ce commit: b71beb16153c2fddb4972fb4f727e8b6e9fbcf8c Author: Mike Frysinger gentoo org> AuthorDate: Tue Oct 6 13:46:32 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Tue Oct 6 13:46:32 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b71beb16 lint: fix duplicate fcntl import This module is already imported at the top, so no point in doing it again. catalyst/lock.py | 1 - 1 file changed, 1 deletion(-) diff --git a/catalyst/lock.py b/catalyst/lock.py index 25d2aa2..71918d6 100644 --- a/catalyst/lock.py +++ b/catalyst/lock.py @@ -176,7 +176,6 @@ class LockDir(object): #writemsg("Lockfile obtained\n") def fcntl_unlock(self): - import fcntl unlinkfile = 1 if not os.path.exists(self.lockfile): print "lockfile does not exist '%s'" % self.lockfile