Commit 7bf992bf authored by Chris Lamb's avatar Chris Lamb 💬

debian/rules: Use str.format over "+" for string concatenation.

parent 12882be3
Pipeline #32095 failed with stage
in 15 minutes and 10 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment