[Reproducible-builds] [dh-python] 169/183: s/interpreter/i/ to keep it in sync with batch mode
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:34 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 e0fd757439156299a7e7fc542e851e72cb66fe9a
Author: Piotr Ożarowski <piotr at debian.org>
Date: Thu Jan 30 22:06:12 2014 +0100
s/interpreter/i/ to keep it in sync with batch mode
---
pybuild | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/pybuild b/pybuild
index 484dffa..d7bd35a 100755
--- a/pybuild
+++ b/pybuild
@@ -237,29 +237,29 @@ def main(cfg):
step = func.__func__.__name__
if step == 'test' and nocheck:
exit(0)
- for interpreter in cfg.interpreter:
+ for i in cfg.interpreter:
iversions = versions
- if '{version}' not in interpreter and len(versions) > 1:
+ if '{version}' not in i and len(versions) > 1:
log.info('limiting Python versions to %s due to missing {version}'
' in interpreter string', str(versions[0]))
iversions = versions[:1] # just the default or closest to default
for version in iversions:
- if is_disabled(step, interpreter, version):
+ if is_disabled(step, i, version):
continue
c = dict(context)
- c['dir'] = get_option('dir', interpreter, version, cfg.dir)
- c['destdir'] = get_option('destdir', interpreter, version, cfg.destdir)
+ c['dir'] = get_option('dir', i, version, cfg.dir)
+ c['destdir'] = get_option('destdir', i, version, cfg.destdir)
try:
- run(func, interpreter, version, c)
+ run(func, i, version, c)
except Exception as err:
log.error('%s: plugin %s failed with: %s',
step, plugin.NAME, err, exc_info=cfg.verbose)
exit(13)
if step == 'install':
- ext_destdir = get_option('ext_destdir', interpreter, version)
+ ext_destdir = get_option('ext_destdir', i, version)
if ext_destdir:
move_matching_files(c['destdir'], ext_destdir,
- get_option('ext_pattern', interpreter, version))
+ get_option('ext_pattern', i, version))
exit(0)
### all functions for interpreters in batches mode ###
--
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