mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 09:24:16 +02:00
Merge branch 'staging' into modules
# Conflicts: # CHANGELOG.md # fpakman/app.py # fpakman/core/controller.py # fpakman/core/snap/controller.py # fpakman/core/snap/snap.py
This commit is contained in:
@@ -189,3 +189,18 @@ class GenericApplicationManager(ApplicationManager):
|
||||
updates.extend(man.list_updates())
|
||||
|
||||
return updates
|
||||
|
||||
def list_warnings(self) -> List[str]:
|
||||
if self.managers:
|
||||
warnings = None
|
||||
|
||||
for man in self.managers:
|
||||
man_warnings = man.list_warnings()
|
||||
|
||||
if man_warnings:
|
||||
if warnings is None:
|
||||
warnings = []
|
||||
|
||||
warnings.extend(man_warnings)
|
||||
|
||||
return warnings
|
||||
|
||||
Reference in New Issue
Block a user