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:
parent
e842ddf362
commit
b90db64a0a
@ -123,7 +123,7 @@ except ImportError:
|
|||||||
pkgs = {}
|
pkgs = {}
|
||||||
total = 0
|
total = 0
|
||||||
for pkg in apt.Cache():
|
for pkg in apt.Cache():
|
||||||
if pkg.isUpgradable:
|
if pkg.is_upgradable:
|
||||||
a = check_origin(pkg)
|
a = check_origin(pkg)
|
||||||
pkgs[a] = pkgs.get(a, 0) + 1
|
pkgs[a] = pkgs.get(a, 0) + 1
|
||||||
total += 1
|
total += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user