l.t.s.m.MigrateCurrentFlagProcess : class documentation

Part of lp.translations.scripts.migrate_current_flag View In Hierarchy

Mark all translations as is_imported if they are is_current.

Processes only translations for upstream projects, since Ubuntu source packages need no migration.

Method __init__ Undocumented
Method getProductsWithTemplates Get Product.ids for projects with any translations templates.
Method getCurrentNonimportedTranslations Get TranslationMessage.ids that need migration for a product.
Method run Undocumented
def __init__(self, transaction, logger=None):
Undocumented
def getProductsWithTemplates(self):
Get Product.ids for projects with any translations templates.
def getCurrentNonimportedTranslations(self, product):
Get TranslationMessage.ids that need migration for a product.
def run(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.