summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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