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 eba55c396339403c2721166a2e35fc3b6ef73797
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Sun Sep 1 01:47:55 2013 +0200

    Interpreter.binary: use self.path
---
 dhpython/interpreter.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dhpython/interpreter.py b/dhpython/interpreter.py
index 6a15647..d3013e4 100644
--- a/dhpython/interpreter.py
+++ b/dhpython/interpreter.py
@@ -159,14 +159,14 @@ class Interpreter:
         return self.name + str(version)
 
     def binary(self, version=None):
-        return '/usr/bin/{}'.format(self._vstr(version))
+        return '{}{}'.format(self.path, self._vstr(version))
 
     @property
     def binary_dv(self):
         """Like binary(), but returns path to default intepreter symlink
         if version matches default one for given implementation.
         """
-        return '/usr/bin/{}'.format(self._vstr(consider_default_ver=True))
+        return '{}{}'.format(self.path, self._vstr(consider_default_ver=True))
 
     @property
     def default_version(self):

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