Fix some typos.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Mon, 27 Sep 2010 13:32:08 +0000 (15:32 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Mon, 27 Sep 2010 13:32:08 +0000 (15:32 +0200)
pym/_emerge/resolver/backtracking.py
pym/portage/tests/resolver/test_multirepo.py

index ded97e19d33744a2ad718a2295f4d59612f2c2f7..9a018cc710a33cc67c824a4719e114e0c883def3 100644 (file)
@@ -82,7 +82,7 @@ class Backtracker(object):
 
        def get(self):
                """
-               Returns a backtrack paramater. The backtrack graph is explored with depth first.
+               Returns a backtrack parameter. The backtrack graph is explored with depth first.
                """
                if self._unexplored_nodes:
                        node = self._unexplored_nodes.pop()
@@ -147,7 +147,7 @@ class Backtracker(object):
 
        def feedback(self, infos):
                """
-               Takes infomration from the depgraph and computes new backtrack parameters to try.
+               Takes information from the depgraph and computes new backtrack parameters to try.
                """
                assert self._current_node is not None, "call feedback() only after get() was called"
 
@@ -165,7 +165,7 @@ class Backtracker(object):
 
        def backtracked(self):
                """
-               If we dind't backtrack, there is only the root.
+               If we didn't backtrack, there is only the root.
                """
                return len(self._nodes) > 1
 
@@ -173,7 +173,7 @@ class Backtracker(object):
        def get_best_run(self):
                """
                Like, get() but returns the backtrack parameter that has as many config changes as possible,
-               but has no masks. This maskes --autounmask effective, but prevents confusing error messages
+               but has no masks. This makes --autounmask effective, but prevents confusing error messages
                with "masked by backtracking".
                """
                best_node = self._root
index 14f415c99f56424f9a6dd4adff8b40e8c55c09be..d44b0424cdd3c9a984775c105057e7155f38483b 100644 (file)
@@ -14,7 +14,7 @@ class MultirepoTestCase(TestCase):
                        "dev-libs/A-2::repo1": { },
                        "dev-libs/A-1::repo2": { },
 
-                       #Packges in exactly one repo
+                       #Packages in exactly one repo
                        "dev-libs/B-1": { },
                        "dev-libs/C-1::repo1": { },
 
@@ -63,7 +63,7 @@ class MultirepoTestCase(TestCase):
                                check_repo_names = True,
                                mergelist = ["dev-libs/A-1"]),
 
-                       #Packges in exactly one repo
+                       #Packages in exactly one repo
                        ResolverPlaygroundTestCase(
                                ["dev-libs/B"],
                                success = True,