]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Add little helper that combines str.startswith and str.removeprefix 2451/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 2 Mar 2024 11:01:54 +0000 (12:01 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 5 Mar 2024 11:04:01 +0000 (12:04 +0100)
commit2402593b5ee48c617b9f041aecaaa8097d4c4dc2
tree8cb6b065c5b2a06f3fc1178ecf7ae583af8e9fa6
parent27bf19f5fe1b39e9345e1d28a2ea86e980d03dd2
Add little helper that combines str.startswith and str.removeprefix

This way we don't need to repeat the prefix string.
mkosi/config.py
mkosi/distributions/fedora.py
mkosi/sandbox.py
mkosi/util.py