l.t.s.c.SeriesStateKeeper : class documentation

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

Prepare DistroSeries state for copying, and later restore it.

This class is built to act across transaction boundaries, so it can't store references to database objects.

Method prepare Set up series' state for a translations update.
Method restore Restore series to its normal state after translations update.
def prepare(self, series):
Set up series' state for a translations update.

Use restore later to bring series back to its original state.

def restore(self):
Restore series to its normal state after translations update.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.