launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #05152
[Merge] lp:~stevenk/launchpad/kill-migrate_kde_potemplates into lp:launchpad
Steve Kowalik has proposed merging lp:~stevenk/launchpad/kill-migrate_kde_potemplates into lp:launchpad.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
Related bugs:
Bug #376962 in Launchpad itself: "Obsolete scripts in database/schema contain bad imports"
https://bugs.launchpad.net/launchpad/+bug/376962
For more details, see:
https://code.launchpad.net/~stevenk/launchpad/kill-migrate_kde_potemplates/+merge/77819
And another script bites the dust.
--
https://code.launchpad.net/~stevenk/launchpad/kill-migrate_kde_potemplates/+merge/77819
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stevenk/launchpad/kill-migrate_kde_potemplates into lp:launchpad.
=== removed file 'database/schema/pending/migrate_kde_potemplates.py'
--- database/schema/pending/migrate_kde_potemplates.py 2010-05-19 18:07:56 +0000
+++ database/schema/pending/migrate_kde_potemplates.py 1970-01-01 00:00:00 +0000
@@ -1,34 +0,0 @@
-#!/usr/bin/python -S
-#
-# Copyright 2009 Canonical Ltd. This software is licensed under the
-# GNU Affero General Public License version 3 (see the file LICENSE).
-#
-# pylint: disable-msg=W0403
-#
-# Migrate old KDE-style POTemplates to use native Launchpad
-# context and plural forms support.
-#
-# See https://bugs.launchpad.net/rosetta/+bug/196106.
-import sys
-import logging
-
-import _pythonpath
-
-from canonical.launchpad.scripts.base import LaunchpadScript
-from canonical.launchpad.scripts.migrate_kde_potemplates import (
- migrate_potemplates)
-
-class MigrateKDEPOTemplatesScript(LaunchpadScript):
-
- description = ("Use native support for message context and "
- "plural forms for legacy KDE PO templates.")
- usage = "usage: %s" % sys.argv[0]
- loglevel = logging.INFO
-
- def main(self):
- migrate_potemplates(self.txn, self.logger)
-
-if __name__ == '__main__':
- script = MigrateKDEPOTemplatesScript(
- 'canonical.launchpad.scripts.migrate_kde_potemplates')
- script.run()