From 0394a735a7c20c88ec9d2a3c754696178f355813 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Mon, 2 Feb 2026 19:34:53 -0500 Subject: [PATCH] Fix typo locale -> local (#4201) --- archinstall/lib/mirrors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/mirrors.py b/archinstall/lib/mirrors.py index d683da16..d226cad4 100644 --- a/archinstall/lib/mirrors.py +++ b/archinstall/lib/mirrors.py @@ -267,7 +267,7 @@ class MirrorListHandler: def load_local_mirrors(self) -> None: with self._local_mirrorlist.open('r') as fp: mirrorlist = fp.read() - self._status_mappings = self._parse_locale_mirrors(mirrorlist) + self._status_mappings = self._parse_local_mirrors(mirrorlist) def get_status_by_region(self, region: str, speed_sort: bool) -> list[MirrorStatusEntryV3]: mappings = self._mappings() @@ -318,7 +318,7 @@ class MirrorListHandler: return sorted_by_regions - def _parse_locale_mirrors(self, mirrorlist: str) -> dict[str, list[MirrorStatusEntryV3]]: + def _parse_local_mirrors(self, mirrorlist: str) -> dict[str, list[MirrorStatusEntryV3]]: lines = mirrorlist.splitlines() # remove empty lines