[antimatter] fixup typos in updates calculation

This commit is contained in:
Fabio Erculiani
2012-12-16 19:10:29 +01:00
parent f9ff105171
commit 709d197818
+2 -2
View File
@@ -302,7 +302,7 @@ class AntiMatter(object):
key_slot = "%s:%s" % (atom.cp, atom.slot)
best_visible = portage.best(vardb.match(key_slot))
best_visible = portage.best(portdb.match(key_slot))
if not best_visible:
# dropped upstream
@@ -385,7 +385,7 @@ if __name__ == "__main__":
help="list dead packages only (those which "
"upstream dropped)")
mg_group.add_argument("--upgrade", "-u", action="store_true",
default=True,
default=False,
help="list packages that would be upgraded "
"(default action)")
mg_group.add_argument("--downgrade", "-d", action="store_true",