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 B87161391DB for ; Tue, 25 Mar 2014 22:48:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2F13E0ACF; Tue, 25 Mar 2014 22:48:51 +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 73E65E0AC3 for ; Tue, 25 Mar 2014 22:48:51 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8613033FD02 for ; Tue, 25 Mar 2014 22:48:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 4979A188EF for ; Tue, 25 Mar 2014 22:48:49 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1395780718.099ab4d660263b9af7052076a4da1107ba6b08e1.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/pkgdir/distroot/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/overlay/pkgdir/distroot/distroot.py X-VCS-Directories: roverlay/overlay/pkgdir/distroot/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 099ab4d660263b9af7052076a4da1107ba6b08e1 X-VCS-Branch: master Date: Tue, 25 Mar 2014 22:48:49 +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: 627f2564-c9ba-49ff-81dc-526b9523ba49 X-Archives-Hash: c19fc3b5bc79af7ed59bcc20590508a0 commit: 099ab4d660263b9af7052076a4da1107ba6b08e1 Author: André Erdmann mailerd de> AuthorDate: Tue Mar 25 20:51:58 2014 +0000 Commit: André Erdmann mailerd de> CommitDate: Tue Mar 25 20:51:58 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=099ab4d6 fixme note --- roverlay/overlay/pkgdir/distroot/distroot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roverlay/overlay/pkgdir/distroot/distroot.py b/roverlay/overlay/pkgdir/distroot/distroot.py index 6762a38..654c1f6 100644 --- a/roverlay/overlay/pkgdir/distroot/distroot.py +++ b/roverlay/overlay/pkgdir/distroot/distroot.py @@ -142,6 +142,9 @@ class DistrootBase ( object ): # safe removal os.unlink ( dest ) elif os.path.exists ( dest ): + # FIXME 2014: exists() implies lexists(), + # so this block is unreachable -- remove it + # # unsafe removal (happens when switching from e.g. hardlinks) # FIXME log this os.unlink ( dest )