Skip to content

Commit

Permalink
Remove unneeded assert
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Jan 23, 2025
1 parent bcaaccc commit 544ff37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkosi/mounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 544ff37

Please sign in to comment.