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.2Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
95a2d8a867
commit
00b632d1cd
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue