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 d950c7aaeacc55f30ea513a4409c1fae3f2501e3
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Thu Oct 17 23:11:32 2013 +0200

    dh_python2: fix public module version detection
---
 debian/changelog | 1 +
 dhpython/fs.py   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1e2f04c..7a73c51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ dh-python (1.20131017-1) unstable; urgency=low
 
   [ Piotr Ożarowski ]
   * dh_python2: searching for packages with egg-info fixed
+  * dh_python2: fix public module version detection (regression)
   * dh_py*: "so" files no longer detected as extensions (closes: 726616)
   * pybuild: set PYTHON_LIBRARY and PYTHON_INCLUDE_DIR in cmake build
     plugin's configure step
diff --git a/dhpython/fs.py b/dhpython/fs.py
index cfe5cc6..53142db 100644
--- a/dhpython/fs.py
+++ b/dhpython/fs.py
@@ -182,6 +182,7 @@ class Scan:
                     if not self.options.no_ext_rename:
                         fpath = self.rename_ext(fpath)
                     ver = self.handle_ext(fpath)
+                    ver = ver or version
                     if ver:
                         self.current_result.setdefault('ext_vers', 
set()).add(ver)
                     else:

-- 
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