summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-04 06:35:16 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-04 06:35:16 +0000
commitf1da06467b7cc48f67ad7e77cae92e448e8f509e (patch)
treebee5c6992ca4ffce5c38ed23115503f9e2a28f17 /pym
parent12d50cf18dbc0b437e18c5d981d1fa319e4f53d6 (diff)
downloadportage-f1da06467b7cc48f67ad7e77cae92e448e8f509e.tar.gz
portage-f1da06467b7cc48f67ad7e77cae92e448e8f509e.tar.bz2
portage-f1da06467b7cc48f67ad7e77cae92e448e8f509e.zip
Rename the global updates do_upgrade() function to parse_updates().
svn path=/main/trunk/; revision=2810
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 66a695655..8a33d155f 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6734,7 +6734,7 @@ for x in mtimedb.keys():
#,"porttree":portagetree(root,virts),"bintree":binarytree(root,virts)}
features=settings["FEATURES"].split()
-def do_upgrade(mykey, mycontent):
+def parse_updates(mycontent):
"""Valid updates are returned as a list of split update commands."""
myupd = []
errors = []
@@ -6875,7 +6875,7 @@ def global_updates():
writemsg(green("Performing Global Updates: ")+bold(mykey)+"\n")
writemsg("(Could take a couple of minutes if you have a lot of binary packages.)\n")
writemsg(" "+bold(".")+"='update pass' "+bold("*")+"='binary update' "+bold("@")+"='/var/db move'\n"+" "+bold("s")+"='/var/db SLOT move' "+bold("S")+"='binary SLOT move' "+bold("p")+"='update /etc/portage/package.*'\n")
- valid_updates, errors = do_upgrade(mykey, mycontent)
+ valid_updates, errors = parse_updates(mycontent)
myupd.extend(valid_updates)
print len(valid_updates) * "."
if len(errors) == 0: