Fix typos in comments.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sun, 10 Oct 2010 02:54:51 +0000 (04:54 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sun, 10 Oct 2010 02:54:51 +0000 (04:54 +0200)
pym/_emerge/depgraph.py
pym/portage/dbapi/porttree.py

index 5792c960514a3845e83d86e4a5be90476fa6e35d..a37a5989bf5b0b423c89053707c3d5f16e622ee3 100644 (file)
@@ -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
index 4f700b1bdacac6d75ea48cd10eb92463495fd0dc..3b527cf5c63baf67b3471b7d025ba7fbfd6533dd 100644 (file)
@@ -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