[Git][reproducible-builds/diffoscope][master] debian/rules: Use str.format over "+" for string concatenation.
Chris Lamb
gitlab at salsa.debian.org
Tue Jan 15 00:33:15 CET 2019
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
7bf992bf by Chris Lamb at 2019-01-14T23:29:01Z
debian/rules: Use str.format over "+" for string concatenation.
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -73,7 +73,7 @@ override_dh_auto_clean:
@sed -i "s#%RECOMMENDS%#$(shell bin/diffoscope --list-debian-substvars | cut -d= -f2)#" debian/tests/control.tmp
@sed -i "s#%PYRECOMMENDS%#$(shell python3 -c "import distutils.core; \
setup = distutils.core.run_setup('setup.py'); \
- print(', '.join(sorted(['python3-'+x for y in setup.extras_require.values() for x in y])))" \
+ print(', '.join(sorted(['python3-{}'.format(x) for y in setup.extras_require.values() for x in y])))" \
)#" debian/tests/control.tmp
@sed -i "s,python3-python-debian,python3-debian," debian/tests/control.tmp
@sed -i "s,python3-rpm-python,python3-rpm," debian/tests/control.tmp
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/7bf992bfe74fffaf5d97071c77fb4698b2899421
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/7bf992bfe74fffaf5d97071c77fb4698b2899421
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190114/c36a6bc5/attachment.html>
More information about the rb-commits
mailing list