This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.

commit 270dd94d8305a8afa1bb15e019e94f0b31085c60
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Tue Sep 3 19:54:01 2013 +0200

    replace symlinks with extensions in dist-packages only
    
    i.e. not in private dirs
---
 dhpython/fs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dhpython/fs.py b/dhpython/fs.py
index 57dbf50..1cf0e71 100644
--- a/dhpython/fs.py
+++ b/dhpython/fs.py
@@ -254,7 +254,8 @@ class Scan:
         This method is invoked for all .so files in public or private 
directories.
         """
         path, fname = fpath.rsplit('/', 1)
-        if islink(fpath):
+        if self.current_pub_version and islink(fpath):
+            # replace symlinks with extensions in dist-packages directory
             dstfpath = fpath
             links = set()
             while islink(dstfpath):

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/reproducible/dh-python.git

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to