lib.Distro: Fix typo instaniate to instantiate

Two error messages in Distro.__init__() contain the typo 'instaniate' instead of 'instantiate'. Fix the spelling.

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL with pi.dev v0.80.2
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-07-01 16:05:24 +02:00
commit 00b632d1cd
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -29,10 +29,10 @@ class Distro(abc.ABC):
default_pkg_filter: PackageFilter | None = None,
) -> None:
if id is None:
raise ValueError('Tried to instaniate Distro without id')
raise ValueError('Tried to instantiate Distro without id')
if ec is None:
raise ValueError(
f'Tried to instaniate Distro "{id}" without execution context'
f'Tried to instantiate Distro "{id}" without execution context'
)
self.__exec_context = ec
self.__id: str | None = None