← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/launchpad:fix-some-more-typos into launchpad:master

 

jugmac00 has proposed merging ~jugmac00/launchpad:fix-some-more-typos into launchpad:master.

Commit message:
fix typos

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/410792
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:fix-some-more-typos into launchpad:master.
diff --git a/lib/lp/archiveuploader/uploadprocessor.py b/lib/lp/archiveuploader/uploadprocessor.py
index 1f22f50..2081a51 100644
--- a/lib/lp/archiveuploader/uploadprocessor.py
+++ b/lib/lp/archiveuploader/uploadprocessor.py
@@ -299,7 +299,7 @@ class UploadHandler:
              archive) = parse_upload_path(relative_path)
         except UploadPathError as e:
             # pick some defaults to create the NascentUpload() object.
-            # We will be rejecting the upload so it doesn matter much.
+            # We will be rejecting the upload so it doesn't matter much.
             distribution = getUtility(IDistributionSet)['ubuntu']
             suite_name = None
             archive = distribution.main_archive
@@ -436,7 +436,7 @@ class UploadHandler:
         return result
 
     def removeUpload(self, logger):
-        """Remove an upload that has succesfully been processed.
+        """Remove an upload that has successfully been processed.
 
         :param logger: The logger to use for logging results.
         """
diff --git a/lib/lp/bugs/scripts/checkwatches/tests/test_scheduler.py b/lib/lp/bugs/scripts/checkwatches/tests/test_scheduler.py
index 33bea04..7cf69c3 100644
--- a/lib/lp/bugs/scripts/checkwatches/tests/test_scheduler.py
+++ b/lib/lp/bugs/scripts/checkwatches/tests/test_scheduler.py
@@ -52,7 +52,7 @@ class TestBugWatchScheduler(TestCaseWithFactory):
         # If a watch has been checked and has never failed its next
         # check will be scheduled for 24 hours after its last check.
         now = datetime.now(utc)
-        # Add some succesful activity to ensure that successful activity
+        # Add some successful activity to ensure that successful activity
         # is handled correctly.
         self.bug_watch.addActivity()
         self.bug_watch.lastchecked = now
diff --git a/lib/lp/buildmaster/doc/buildqueue.txt b/lib/lp/buildmaster/doc/buildqueue.txt
index 6370c40..92a0650 100644
--- a/lib/lp/buildmaster/doc/buildqueue.txt
+++ b/lib/lp/buildmaster/doc/buildqueue.txt
@@ -10,7 +10,7 @@ initialization.
 BuildQueue should provide all the information needed for dispatching
 and collecting build results.
 
-As soon as a build job is processed succesfully (dispatched &
+As soon as a build job is processed successfully (dispatched &
 collected) the BuildQueue record representing it is removed.
 
     >>> from lp.testing import verifyObject
diff --git a/lib/lp/buildmaster/interfaces/packagebuild.py b/lib/lp/buildmaster/interfaces/packagebuild.py
index d911ad3..8d6b836 100644
--- a/lib/lp/buildmaster/interfaces/packagebuild.py
+++ b/lib/lp/buildmaster/interfaces/packagebuild.py
@@ -70,7 +70,7 @@ class IPackageBuild(IBuildFarmJob):
             description=_("Shortcut for its distribution series.")))
 
     def verifySuccessfulUpload():
-        """Verify that the upload of this build completed succesfully."""
+        """Verify that the upload of this build completed successfully."""
 
     def storeUploadLog(content):
         """Store the given content as the build upload_log.
diff --git a/lib/lp/codehosting/puller/scheduler.py b/lib/lp/codehosting/puller/scheduler.py
index 1c828a2..f6a6538 100644
--- a/lib/lp/codehosting/puller/scheduler.py
+++ b/lib/lp/codehosting/puller/scheduler.py
@@ -170,7 +170,7 @@ class PullerMonitorProtocol(ProcessMonitorProtocolWithTimeout,
         """Construct an instance of the protocol, for listening to a worker.
 
         :param deferred: A Deferred that will be fired when the worker has
-            finished (either successfully or unsuccesfully).
+            finished (either successfully or unsuccessfully).
         :param listener: A PullerMaster object that is notified when the
             protocol receives events from the worker.
         :param clock: A provider of Twisted's IReactorTime.  This parameter
diff --git a/lib/lp/codehosting/puller/tests/test_acceptance.py b/lib/lp/codehosting/puller/tests/test_acceptance.py
index 621bcc8..66a3491 100644
--- a/lib/lp/codehosting/puller/tests/test_acceptance.py
+++ b/lib/lp/codehosting/puller/tests/test_acceptance.py
@@ -57,7 +57,7 @@ class TestBranchPuller(PullerBranchTestCase, LoomTestMixin):
             local_path_from_url(config.launchpad.bzr_imports_root_url))
 
     def assertMirrored(self, db_branch, source_branch):
-        """Assert that 'db_branch' was mirrored succesfully.
+        """Assert that 'db_branch' was mirrored successfully.
 
         This method checks that the fields on db_branch show that the branch
         has been mirrored successfully, and checks that the Bazaar source and
diff --git a/lib/lp/registry/javascript/tests/test_structural_subscription.js b/lib/lp/registry/javascript/tests/test_structural_subscription.js
index af4433c..ed9afc1 100644
--- a/lib/lp/registry/javascript/tests/test_structural_subscription.js
+++ b/lib/lp/registry/javascript/tests/test_structural_subscription.js
@@ -867,7 +867,7 @@ YUI.add('lp.structural_subscription.test', function (Y) {
                 }
             };
 
-            // Now we need an lp_client that will appear to succesfully create
+            // Now we need an lp_client that will appear to successfully create
             // the filter but then fail to patch it.
             var TestClient = function() {};
             TestClient.prototype = {
@@ -1075,7 +1075,7 @@ YUI.add('lp.structural_subscription.test', function (Y) {
                     };
                 }
             };
-            // We need an lp_client that will appear to succesfully create the
+            // We need an lp_client that will appear to successfully create the
             // bug filter.
             var TestClient = function() {};
             TestClient.prototype = {
@@ -1206,7 +1206,7 @@ YUI.add('lp.structural_subscription.test', function (Y) {
                     return this._data;
                 }
             };
-            // We need an lp_client that will appear to succesfully create the
+            // We need an lp_client that will appear to successfully create the
             // bug filter.
             var TestClient = function() {
                 this.post_called = false;
diff --git a/lib/lp/registry/tests/test_prf_walker.py b/lib/lp/registry/tests/test_prf_walker.py
index cf82294..04012e1 100644
--- a/lib/lp/registry/tests/test_prf_walker.py
+++ b/lib/lp/registry/tests/test_prf_walker.py
@@ -117,7 +117,7 @@ class WalkerBase_Base(TestCase):
         self.assertEqual(w.path, "/path/to/something/")
 
     def testAddsSlashToPath(self):
-        """WalkerBase adds a trailing slash to path if ommitted."""
+        """WalkerBase adds a trailing slash to path if omitted."""
         w = WalkerBase("ftp://localhost/path/to/something";)
         self.assertEqual(w.path, "/path/to/something/")
 
diff --git a/lib/lp/services/twistedsupport/processmonitor.py b/lib/lp/services/twistedsupport/processmonitor.py
index f80b7d1..e7e3189 100644
--- a/lib/lp/services/twistedsupport/processmonitor.py
+++ b/lib/lp/services/twistedsupport/processmonitor.py
@@ -135,7 +135,7 @@ class ProcessMonitorProtocol(ProcessProtocolWithTwoStageKill):
         """Construct an instance of the protocol, for listening to a worker.
 
         :param deferred: A Deferred that will be fired when the subprocess has
-            finished (either successfully or unsuccesfully).
+            finished (either successfully or unsuccessfully).
         """
         ProcessProtocolWithTwoStageKill.__init__(self, clock)
         self._deferred = deferred
diff --git a/lib/lp/soyuz/interfaces/binarypackagebuild.py b/lib/lp/soyuz/interfaces/binarypackagebuild.py
index 3fedd8c..0f7aeb9 100644
--- a/lib/lp/soyuz/interfaces/binarypackagebuild.py
+++ b/lib/lp/soyuz/interfaces/binarypackagebuild.py
@@ -412,7 +412,7 @@ class IBinaryPackageBuildSet(ISpecificBuildFarmJobSource):
                            arch_tag=None):
         """Retrieve `IBinaryPackageBuild`s for a given Distribution/DS/DAS.
 
-        Optionally, for a given status and/or pocket, if ommited return all
+        Optionally, for a given status and/or pocket, if omitted return all
         records. If name is passed return only the builds which the
         sourcepackagename matches (SQL LIKE).
         """
diff --git a/lib/lp/soyuz/interfaces/publishing.py b/lib/lp/soyuz/interfaces/publishing.py
index 2aaba34..35dff3b 100644
--- a/lib/lp/soyuz/interfaces/publishing.py
+++ b/lib/lp/soyuz/interfaces/publishing.py
@@ -1006,7 +1006,7 @@ class IPublishingSet(Interface):
             ids.
         :type archive: `IArchive`
         :param build_states: optional list of build states to which the
-            result will be limited. Defaults to all states if ommitted.
+            result will be limited. Defaults to all states if omitted.
         :type build_states: ``list`` or None
         :param need_build_farm_job: whether to include the `PackageBuild`
             and `BuildFarmJob` in the result.
diff --git a/lib/lp/soyuz/interfaces/queue.py b/lib/lp/soyuz/interfaces/queue.py
index b328a58..f898203 100644
--- a/lib/lp/soyuz/interfaces/queue.py
+++ b/lib/lp/soyuz/interfaces/queue.py
@@ -774,7 +774,7 @@ class IPackageUploadSet(Interface):
     def count(status=None, distroseries=None, pocket=None):
         """Number of IPackageUpload present in a given status.
 
-        If status is ommitted return the number of all entries.
+        If status is omitted return the number of all entries.
         'distroseries' is optional and restrict the results in given
         distroseries, same for pocket.
         """
diff --git a/lib/lp/soyuz/scripts/tests/test_populatearchive.py b/lib/lp/soyuz/scripts/tests/test_populatearchive.py
index 92cd841..228deb7 100644
--- a/lib/lp/soyuz/scripts/tests/test_populatearchive.py
+++ b/lib/lp/soyuz/scripts/tests/test_populatearchive.py
@@ -214,7 +214,7 @@ class TestPopulateArchiveScript(TestCaseWithFactory):
             ]
 
         # Empty reason string indicates that the '--reason' command line
-        # argument should be ommitted.
+        # argument should be omitted.
         if reason is not None and not reason.isspace():
             script_args.extend(['--reason', reason])
         elif reason is None: