[core.controller] refactoring: removing useless check

This commit is contained in:
Vinicius Moreira
2021-11-09 12:48:22 -03:00
parent 0a9133068e
commit 6bc30ba516

View File

@@ -465,9 +465,6 @@ class GenericSoftwareManager(SoftwareManager):
man_warnings = man.list_warnings(internet_available=int_available)
if man_warnings:
if warnings is None:
warnings = []
warnings.extend(man_warnings)
return warnings