[Reproducible-builds] [dh-python] 153/183: fix_locations: do not change passed interpreter instance
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:32 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 dd1a37336e9bb09b387b725ac0a800235d10d13b
Author: Piotr Ożarowski <piotr at debian.org>
Date: Tue Jan 7 22:10:31 2014 +0100
fix_locations: do not change passed interpreter instance
---
dhpython/fs.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dhpython/fs.py b/dhpython/fs.py
index 53142db..5404448 100644
--- a/dhpython/fs.py
+++ b/dhpython/fs.py
@@ -34,6 +34,9 @@ log = logging.getLogger('dhpython')
def fix_locations(package, interpreter, versions, options):
"""Move files to the right location."""
+ # make a copy since we change version later
+ interpreter = Interpreter(interpreter)
+
for version in versions:
interpreter.version = version
--
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