From 6bc30ba516441523eb237d47d46efe6b93b35e66 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Tue, 9 Nov 2021 12:48:22 -0300 Subject: [PATCH] [core.controller] refactoring: removing useless check --- bauh/view/core/controller.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bauh/view/core/controller.py b/bauh/view/core/controller.py index 6e4ccdcd..16a74eb9 100755 --- a/bauh/view/core/controller.py +++ b/bauh/view/core/controller.py @@ -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