Skip to content

Commit c095309

Browse files
committed
Fix typo locale -> local
1 parent b5f7104 commit c095309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

archinstall/lib/mirrors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def load_remote_mirrors(self) -> bool:
267267
def load_local_mirrors(self) -> None:
268268
with self._local_mirrorlist.open('r') as fp:
269269
mirrorlist = fp.read()
270-
self._status_mappings = self._parse_locale_mirrors(mirrorlist)
270+
self._status_mappings = self._parse_local_mirrors(mirrorlist)
271271

272272
def get_status_by_region(self, region: str, speed_sort: bool) -> list[MirrorStatusEntryV3]:
273273
mappings = self._mappings()
@@ -318,7 +318,7 @@ def _parse_remote_mirror_list(self, mirrorlist: str) -> dict[str, list[MirrorSta
318318

319319
return sorted_by_regions
320320

321-
def _parse_locale_mirrors(self, mirrorlist: str) -> dict[str, list[MirrorStatusEntryV3]]:
321+
def _parse_local_mirrors(self, mirrorlist: str) -> dict[str, list[MirrorStatusEntryV3]]:
322322
lines = mirrorlist.splitlines()
323323

324324
# remove empty lines

0 commit comments

Comments
 (0)