← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/launchpad:fix-docstring-for-UnusedPOTMsgSetPruner._get_msgset_ids_to_remove into launchpad:master

 

jugmac00 has proposed merging ~jugmac00/launchpad:fix-docstring-for-UnusedPOTMsgSetPruner._get_msgset_ids_to_remove into launchpad:master.

Commit message:
fix docstring

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/410138
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:fix-docstring-for-UnusedPOTMsgSetPruner._get_msgset_ids_to_remove into launchpad:master.
diff --git a/lib/lp/scripts/garbo.py b/lib/lp/scripts/garbo.py
index f89c5f7..e2471dc 100644
--- a/lib/lp/scripts/garbo.py
+++ b/lib/lp/scripts/garbo.py
@@ -1358,7 +1358,7 @@ class UnusedPOTMsgSetPruner(TunableLoop):
         return self._get_msgset_ids_to_remove()
 
     def _get_msgset_ids_to_remove(self, ids=None):
-        """Return a distrinct list IDs of the POTMsgSets to remove.
+        """Return a distinct list of IDs of the POTMsgSets to remove.
 
         :param ids: a list of POTMsgSet ids to filter. If ids is None,
             all unused POTMsgSet in the database are returned.
@@ -1974,7 +1974,7 @@ class BaseDatabaseGarbageCollector(LaunchpadCronScript):
                 try:
                     tunable_loop.run()
                     loop_logger.debug(
-                        "%s completed sucessfully.", loop_name)
+                        "%s completed successfully.", loop_name)
                 except Exception:
                     loop_logger.exception("Unhandled exception")
                     self.failure_count += 1
@@ -2014,7 +2014,7 @@ class FrequentDatabaseGarbageCollector(BaseDatabaseGarbageCollector):
 class HourlyDatabaseGarbageCollector(BaseDatabaseGarbageCollector):
     """Run every hour.
 
-    Jobs we want to run fairly often but have noticable overhead go here.
+    Jobs we want to run fairly often but have noticeable overhead go here.
     """
     script_name = 'garbo-hourly'
     tunable_loops = [