From 00b632d1cd72ac4130d5d03b9247115a22ec0aaf Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 1 Jul 2026 16:05:24 +0200 Subject: [PATCH] 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 --- src/python/jw/pkg/lib/Distro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/jw/pkg/lib/Distro.py b/src/python/jw/pkg/lib/Distro.py index 76a01571..84c9e5bb 100644 --- a/src/python/jw/pkg/lib/Distro.py +++ b/src/python/jw/pkg/lib/Distro.py @@ -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