Skip to contentSkip to conversation

upgradehelper.py: fix arguments to _pkg_upgradable()

PATCH New Alexander Kanavin 1 participant 1 message Feb 28, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 upgradehelper.py: fix arguments to _pkg_upgradable()

Maintainer whitelisting was broken, in particular.

---
 upgradehelper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
upgradehelper.py +1 -1
index b22b915..169e9ce 100755
@@ -718,7 +718,7 @@ class UniverseUpdater(Updater):
             # Always do the upgrade if recipes are specified
             if self.recipes and pkg[0] in self.recipes:
                 pkgs_list.append(pkg)
-            elif self._pkg_upgradable(pkg[0], pkg[1], pkg[2]):
+            elif self._pkg_upgradable(pkg[0], pkg[2], pkg[3]):
                 pkgs_list.append(pkg)
 
         return pkgs_list
Signature · 1 line
2.15.1