[fix][arch] crashing while reading the installed packages when the internet is unstable

This commit is contained in:
Vinícius Moreira
2020-05-27 17:34:31 -03:00
parent 5bc64640ad
commit c8f1e0b1f0
2 changed files with 3 additions and 0 deletions

View File

@@ -185,6 +185,7 @@ class AURClient:
return pkgnames
else:
self.logger.warning("Could not load AUR index on the context")
return set()
else:
return index.values()
except: