← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/launchpad:fix-typos-in-archive.py-and-related-files into launchpad:master

 

Jürgen Gmach has proposed merging ~jugmac00/launchpad:fix-typos-in-archive.py-and-related-files 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/431719
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:fix-typos-in-archive.py-and-related-files into launchpad:master.
diff --git a/lib/lp/soyuz/doc/package-diff.rst b/lib/lp/soyuz/doc/package-diff.rst
index 9a4302b..9591382 100644
--- a/lib/lp/soyuz/doc/package-diff.rst
+++ b/lib/lp/soyuz/doc/package-diff.rst
@@ -349,7 +349,7 @@ Performing the diff.
 
     >>> diff.performDiff()
 
-The record is immediatelly updated, now the record contains a
+The record is immediately updated, now the record contains a
 'date_fulfilled', its status is COMPLETED and 'diff_content' points
 to a LibraryFileAlias with a proper mimetype.
 
diff --git a/lib/lp/soyuz/model/archive.py b/lib/lp/soyuz/model/archive.py
index a0dbbbc..61acec4 100644
--- a/lib/lp/soyuz/model/archive.py
+++ b/lib/lp/soyuz/model/archive.py
@@ -618,7 +618,7 @@ class Archive(SQLBase):
         def load_api_extra_objects(rows):
             """Load extra related-objects needed by API calls."""
             # Pre-cache related `PackageUpload`s and `PackageUploadSource`s
-            # which are immediatelly used in the API context for checking
+            # which are immediately used in the API context for checking
             # permissions on the returned entries.
             uploads = load_related(PackageUpload, rows, ["packageupload_id"])
             pu_sources = load_referencing(
@@ -627,7 +627,7 @@ class Archive(SQLBase):
             for pu_source in pu_sources:
                 upload = pu_source.packageupload
                 get_property_cache(upload).sources = [pu_source]
-            # Pre-cache `SourcePackageName`s which are immediatelly used
+            # Pre-cache `SourcePackageName`s which are immediately used
             # in the API context for materializing the returned entries.
             # XXX cprov 2014-04-23: load_related() does not support
             # nested attributes as foreign keys (uses getattr instead of
@@ -1212,7 +1212,7 @@ class Archive(SQLBase):
             DistroSeriesPackageCache,
         )
 
-        # Compiled regexp to remove puntication.
+        # Compiled regexp to remove punctuation.
         clean_text = re.compile(r"(,|;|:|\.|\?|!)")
 
         # XXX cprov 20080402 bug=207969: The set() is only used because we
@@ -2950,7 +2950,7 @@ class Archive(SQLBase):
             return [PackagePublishingPocket.RELEASE]
 
         # Cast to a list so we don't trip up with the security proxy not
-        # understandiung EnumItems.
+        # understanding EnumItems.
         return list(PackagePublishingPocket.items)
 
     def _getExistingOverrideSequence(
diff --git a/lib/lp/soyuz/scripts/ftpmasterbase.py b/lib/lp/soyuz/scripts/ftpmasterbase.py
index be0b0f4..f25e0d8 100644
--- a/lib/lp/soyuz/scripts/ftpmasterbase.py
+++ b/lib/lp/soyuz/scripts/ftpmasterbase.py
@@ -195,7 +195,7 @@ class SoyuzScript(LaunchpadScript):
         """Script finalization procedure.
 
         'dry-run' command-line option will case the transaction to be
-        immediatelly aborted.
+        immediately aborted.
 
         In normal mode it will ask for user confirmation (see
         `waitForUserConfirmation`) and will commit the transaction or abort

References