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 5096B13888F for ; Tue, 6 Oct 2015 15:05:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A21B21C028; Tue, 6 Oct 2015 15:05:36 +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 6750E21C01D for ; Tue, 6 Oct 2015 15:05:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 03FD3340AB5 for ; Tue, 6 Oct 2015 15:05:33 +0000 (UTC) From: Mike Frysinger To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 01/13] lint: fix duplicate fcntl import Date: Tue, 6 Oct 2015 11:05:17 -0400 Message-Id: <1444143929-26705-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 2.5.2 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: 8da8317c-7dd0-4f90-b7ef-b6a0a4c20557 X-Archives-Hash: ac4a1a7455ba741612a7dc9b30f91bcd 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 -- 2.5.2