mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41: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 = {}
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue