]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Remove unneeded assert
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 23 Jan 2025 11:16:57 +0000 (12:16 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 23 Jan 2025 11:19:07 +0000 (12:19 +0100)
mkosi/mounts.py

index edca3c3e02c8208d98c75560e0945cc142b44d2e..e32d4879510343d9a1a8bd5623c96fb065916a09 100644 (file)
@@ -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: