commit: 099ab4d660263b9af7052076a4da1107ba6b08e1
Author: André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Tue Mar 25 20:51:58 2014 +0000
Commit: André Erdmann <dywi <AT> mailerd <DOT> 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(<file>) implies lexists(<file>),
+ # so this block is unreachable -- remove it
+ #
# unsafe removal (happens when switching from e.g. hardlinks)
# FIXME log this
os.unlink ( dest )