From: Daan De Meyer Date: Thu, 23 Jan 2025 11:16:57 +0000 (+0100) Subject: Remove unneeded assert X-Git-Tag: v25~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00e857cc33fd34ea9346f495d557b374464d61c7;p=thirdparty%2Fmkosi.git Remove unneeded assert --- diff --git a/mkosi/mounts.py b/mkosi/mounts.py index edca3c3e0..e32d48795 100644 --- a/mkosi/mounts.py +++ b/mkosi/mounts.py @@ -75,7 +75,7 @@ def finalize_source_mounts( "BuildSourcesEphemeral=buildcache was configured, but no build directory exists.", # noqa: E501 hint="Configure BuildDirectory= or create mkosi.builddir.", ) - assert config.build_dir + upperdir = config.build_dir / f"mkosi.buildovl.{src.name}" upperdir.mkdir(mode=src.stat().st_mode, exist_ok=True) else: