2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Fix typo that prevents munin from learning about upgradable packages

This commit is contained in:
Oliver Chick 2013-10-29 17:47:44 +00:00 committed by Oliver Chick
parent e842ddf362
commit b90db64a0a

View File

@ -123,7 +123,7 @@ except ImportError:
pkgs = {}
total = 0
for pkg in apt.Cache():
if pkg.isUpgradable:
if pkg.is_upgradable:
a = check_origin(pkg)
pkgs[a] = pkgs.get(a, 0) + 1
total += 1