[Reproducible-builds] [dh-python] 105/183: Interpreter.binary: use self.path
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:26 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 eba55c396339403c2721166a2e35fc3b6ef73797
Author: Piotr Ożarowski <piotr at 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
More information about the Reproducible-builds
mailing list