[feature][ui] it is possible to view details of some initialization tasks by clicking on their icons

This commit is contained in:
Vinicius Moreira
2020-05-03 12:02:12 -03:00
parent e2e40747a5
commit 600f0068bf
25 changed files with 184 additions and 44 deletions

View File

@@ -500,8 +500,7 @@ def get_current_mirror_countries() -> List[str]:
def is_mirrors_available() -> bool:
res = run_cmd('which pacman-mirrors', print_error=False)
return res and not res.strip().startswith('which ')
return bool(run_cmd('which pacman-mirrors', print_error=False))
def get_update_size(pkgs: List[str]) -> Dict[str, int]: # bytes: