Skip to content
Snippets Groups Projects
Commit 7bf992bf authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

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

parent 12882be3
No related branches found
No related tags found
No related merge requests found
Pipeline #32095 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment