[Reproducible-builds] [dh-python] 53/183: Interpreter.check_extname: fix case where python2.7 is compiled without mutliarch support

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:19 UTC 2014


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 5f5e291277df9eb6b1eb05dd36f628ab9a95d277
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Fri Aug 2 19:25:18 2013 +0200

    Interpreter.check_extname: fix case where python2.7 is compiled without mutliarch support
---
 dhpython/interpreter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dhpython/interpreter.py b/dhpython/interpreter.py
index 94d966d..cc2d8b6 100644
--- a/dhpython/interpreter.py
+++ b/dhpython/interpreter.py
@@ -398,7 +398,7 @@ class Interpreter:
             result = "{}.{}".format(result, tmp_soabi)
             if tmp_multiarch:
                 result = "{}-{}".format(result, tmp_multiarch)
-        elif self.impl == 'cpython2' and version == '2.7':
+        elif self.impl == 'cpython2' and version == '2.7' and tmp_multiarch:
             result = "{}.{}".format(result, tmp_multiarch)
 
         result += '.so'

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



More information about the Reproducible-builds mailing list