fix suggestions error | improving warnings presentation | snapd health check when snapd.service is available

This commit is contained in:
Vinicius Moreira
2019-09-26 12:07:50 -03:00
parent dae9befefc
commit 9aa069f4be
8 changed files with 53 additions and 25 deletions

View File

@@ -389,7 +389,7 @@ class FindSuggestions(AsyncAction):
def run(self):
sugs = self.man.list_suggestions(limit=-1)
self.notify_finished([s.package for s in sugs] if sugs is not None else [])
self.notify_finished({'pkgs_found': [s.package for s in sugs] if sugs is not None else [], 'error': None})
class ListWarnings(QThread):