summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-10-10 04:54:51 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-10-10 04:54:51 +0200
commite439cdcab435660b5230044349601541acda7136 (patch)
treebfd3b49c41d13c9ed16f006c8e32d0399ab0f582
parentAdd support for emerge --buildpkg=n. (diff)
downloadportage-e439cdcab435660b5230044349601541acda7136.tar.gz
portage-e439cdcab435660b5230044349601541acda7136.tar.bz2
portage-e439cdcab435660b5230044349601541acda7136.zip
Fix typos in comments.
-rw-r--r--pym/_emerge/depgraph.py4
-rw-r--r--pym/portage/dbapi/porttree.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 5792c9605..a37a5989b 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -682,7 +682,7 @@ class depgraph(object):
if not dep_pkg:
if dep.priority.optional:
- # This could be an unecessary build-time dep
+ # This could be an unnecessary build-time dep
# pulled in by --with-bdeps=y.
return 1
if allow_unsatisfied:
@@ -2501,7 +2501,7 @@ class depgraph(object):
if hasattr(db, "xmatch"):
# For portdbapi we match only against the cpv, in order
- # to bypass unecessary cache access for things like IUSE
+ # to bypass unnecessary cache access for things like IUSE
# and SLOT. Later, we cache the metadata in a Package
# instance, and use that for further matching. This
# optimization is especially relevant since
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 4f700b1bd..3b527cf5c 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -785,7 +785,7 @@ class portdbapi(dbapi):
if level == "match-all-cpv-only":
# match *all* packages, only against the cpv, in order
- # to bypass unecessary cache access for things like IUSE
+ # to bypass unnecessary cache access for things like IUSE
# and SLOT.
myval = None
mytree = None