index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Oleksandr Zinkevych <zso040399@gmail.com> | 2021-10-22 14:53:18 +0300 |
---|---|---|
committer | Oleksandr Zinkevych <zso040399@gmail.com> | 2021-10-22 14:53:18 +0300 |
commit | a822b8edae2c80edc86e786e27d876b705b5c985 (patch) | |
tree | 904c58111a7fc0b138597fe2e9987ffe74df1990 /archinstall | |
parent | 165d47f4bb3d79f405691a7cfb6ece55b33cd81c (diff) |
-rw-r--r-- | archinstall/lib/mirrors.py | 3 |
diff --git a/archinstall/lib/mirrors.py b/archinstall/lib/mirrors.py index 12fa7450..739bf1a8 100644 --- a/archinstall/lib/mirrors.py +++ b/archinstall/lib/mirrors.py @@ -116,14 +116,13 @@ def insert_mirrors(mirrors, *args, **kwargs): def use_mirrors( regions: Mapping[str, Iterable[str]], destination: str ='/etc/pacman.d/mirrorlist' -) -> bool: +) -> None: log(f'A new package mirror-list has been created: {destination}', level=logging.INFO) with open(destination, 'w') as mirrorlist: for region, mirrors in regions.items(): for mirror in mirrors: mirrorlist.write(f'## {region}\n') mirrorlist.write(f'Server = {mirror}\n') - return True def re_rank_mirrors(top=10, *positionals, **kwargs): |