mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Fix typo that prevents munin from learning about upgradable packages
This commit is contained in:
parent
e842ddf362
commit
b90db64a0a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue