Both branches contained the same code

Signed-off-by: Yoann Congal <yoann.con...@smile.fr>
---
 upgrade-helper.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/upgrade-helper.py b/upgrade-helper.py
index 1176a73..57bf59a 100755
--- a/upgrade-helper.py
+++ b/upgrade-helper.py
@@ -674,9 +674,7 @@ class UniverseUpdater(Updater):
 
             if status == 'UPDATE' and not no_upgrade_reason:
                 # Always do the upgrade if recipes are specified
-                if self.recipes and pn in self.recipes:
-                    pkgs_list.append((pn, cur_ver, next_ver, maintainer, 
revision))
-                elif self._pkg_upgradable(pn, next_ver, maintainer):
+                if self.recipes and pn in self.recipes or 
self._pkg_upgradable(pn, next_ver, maintainer):
                     pkgs_list.append((pn, cur_ver, next_ver, maintainer, 
revision))
             else:
                 if no_upgrade_reason:
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61539): https://lists.yoctoproject.org/g/yocto/message/61539
Mute This Topic: https://lists.yoctoproject.org/mt/102309891/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to