Projet

Général

Profil

Révision b90db64a

IDb90db64a0a5811639075e3ff87da449d5377a126
Parent e842ddf3
Enfant bcae83c5

Ajouté par Oliver Chick il y a plus de 11 ans

Fix typo that prevents munin from learning about upgradable packages

Voir les différences:

plugins/ubuntu/apt_ubuntu
123 123
pkgs = {}
124 124
total = 0
125 125
for pkg in apt.Cache():
126
    if pkg.isUpgradable:
126
    if pkg.is_upgradable:
127 127
        a = check_origin(pkg)
128 128
        pkgs[a] = pkgs.get(a, 0) + 1
129 129
        total += 1

Formats disponibles : Unified diff