Correct variable name
This commit is contained in:
parent
78fb3217d6
commit
1af6a85492
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ def package_status(m, pkgname, version, cache, state):
|
||||||
# Only claim the package is upgradable if a candidate matches the version
|
# Only claim the package is upgradable if a candidate matches the version
|
||||||
package_is_upgradable = False
|
package_is_upgradable = False
|
||||||
for candidate in avail_upgrades:
|
for candidate in avail_upgrades:
|
||||||
if pkg.versions[candidate] > p.installed:
|
if pkg.versions[candidate] > pkg.installed:
|
||||||
package_is_upgradable = True
|
package_is_upgradable = True
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue