[fix][arch] displaying the wrong subtypes due to previous renaming

This commit is contained in:
Vinícius Moreira
2020-04-13 16:51:53 -03:00
parent 1fdf3d6952
commit 8d55ae28b0
12 changed files with 64 additions and 68 deletions

View File

@@ -119,11 +119,11 @@ def sort(pkgs: Iterable[str], pkgs_data: Dict[str, dict], provided_map: Dict[str
for name in sorted_list:
repo = pkgs_data[name]['r']
if repo == 'arch':
if repo == 'aur':
if not aur_pkgs:
aur_pkgs = []
aur_pkgs.append((name, 'arch'))
aur_pkgs.append((name, 'aur'))
else:
res.append((name, repo))