summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-02-19 00:01:38 +0000
committerZac Medico <zmedico@gentoo.org>2006-02-19 00:01:38 +0000
commitf08638ae1678f1590d17803b88806fb3c902c535 (patch)
treee501d27e0db5648e9bbc9a2518acbc15c13d1977
parentf81515d2a66b9454ae4cae42c962b865db76f9e2 (diff)
downloadportage-f08638ae1678f1590d17803b88806fb3c902c535.tar.gz
portage-f08638ae1678f1590d17803b88806fb3c902c535.tar.bz2
portage-f08638ae1678f1590d17803b88806fb3c902c535.zip
Fix 2 typos from revision 2735.
svn path=/main/trunk/; revision=2736
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 0a0eadb74..356e1fc18 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6793,7 +6793,7 @@ def do_upgrade(mykey):
mysplit = myline.split()
if len(mysplit) == 0:
continue
- if mysplit[0] is not in ("move", "slotmove"):
+ if mysplit[0] not in ("move", "slotmove"):
writemsg("portage: Update type \""+mysplit[0]+"\" not recognized.\n")
processed=0
continue
@@ -6813,7 +6813,7 @@ def do_upgrade(mykey):
writemsg("portage: Update command \""+myline+"\" invalid; skipping.\n")
processed=0
continue
- pkg, origslot, newslot = mylist[1], mylist[2], mylist[3]
+ pkg, origslot, newslot = mysplit[1], mysplit[2], mysplit[3]
if not isvalidatom(pkg):
writemsg("\nERROR: Malformed update entry '%s'\n" % myline)
processed=0