Fix some typos.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Fri, 15 Oct 2010 20:21:24 +0000 (22:21 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Fri, 15 Oct 2010 20:21:24 +0000 (22:21 +0200)
pym/_emerge/actions.py
pym/_emerge/depgraph.py
pym/portage/dep/__init__.py
pym/portage/exception.py
pym/portage/package/ebuild/config.py

index 1a7dd7fbe0ce30f2488229e333d8825633d07cec..d9dbfb473c9f24092124efb3b460cfa7f2496b23 100644 (file)
@@ -1181,7 +1181,7 @@ def calc_depclean(settings, trees, ldpath_mtimes,
                                        raise AssertionError("no root nodes")
                                if ignore_priority is not None:
                                        # Some deps have been dropped due to circular dependencies,
-                                       # so only pop one node in order do minimize the number that
+                                       # so only pop one node in order to minimize the number that
                                        # are dropped.
                                        del nodes[1:]
                                for node in nodes:
index a8ea3c1516db187c79ce3b1cf0d13a3cec153870..d05272f4f562d8cb5fdad6f06f9987b68509ad00 100644 (file)
@@ -4301,7 +4301,7 @@ class depgraph(object):
                                                if min_parent_deps is not None and \
                                                        len(parent_deps) >= min_parent_deps:
                                                        # This task is no better than a previously selected
-                                                       # task, so abort search now in order avoid wasting
+                                                       # task, so abort search now in order to avoid wasting
                                                        # any more cpu time on this task. This increases
                                                        # performance dramatically in cases when there are
                                                        # hundreds of blockers to solve, like when
@@ -4323,7 +4323,7 @@ class depgraph(object):
 
                                        if uninst_task is not None and min_parent_deps == 1:
                                                # This is the best possible result, so so abort search
-                                               # now in order avoid wasting any more cpu time.
+                                               # now in order to avoid wasting any more cpu time.
                                                break
 
                                if uninst_task is not None:
index 60e94f0bdc5445c6f20b122f4ad0163e73dc8be3..30346659797a2e1f65ea30a29d0fd351ac342a4b 100644 (file)
@@ -419,7 +419,7 @@ def use_reduce(depstr, uselist=[], masklist=[], matchall=False, excludeall=[], i
                                        return k>=0 and stack[k] and stack[k][0] == "||"
 
                                def last_any_of_operator_level(k):
-                                       #Returns the level of the last || operator if it is ineffect for
+                                       #Returns the level of the last || operator if it is in effect for
                                        #the current level. It is not in effect, if there is a level, that
                                        #ends in a non-operator. This is almost equivalent to stack[level][-1]=="||",
                                        #expect that it skips empty levels.
index e9e61e2acf4cf343f8919a1e2642f2662c44418c..64d0f7b0db334c38bd39ad56c129696599e7d5ae 100644 (file)
@@ -151,7 +151,7 @@ class UnsupportedAPIException(PortagePackageException):
                self.cpv, self.eapi = cpv, eapi
        def __str__(self):
                msg = _("Unable to do any operations on '%(cpv)s', since "
-               "it's EAPI is higher than this portage version's. Please upgrade"
+               "its EAPI is higher than this portage version's. Please upgrade"
                " to a portage version that supports EAPI '%(eapi)s'.") % \
                {"cpv": self.cpv, "eapi": str(self.eapi).lstrip("-")}
                return msg
index 8330390e5d4454b5513c1f2e9ca504701fca7fb0..e50e6446aa49f8d2f10518fe2b82439706a0c992 100644 (file)
@@ -1143,7 +1143,7 @@ class config(object):
                if previous_features:
                        # The package from the previous setcpv call had package.env
                        # settings which modified FEATURES. Therefore, trigger a
-                       # regenerate() call in order ensure that self.features
+                       # regenerate() call in order to ensure that self.features
                        # is accurate.
                        has_changed = True