c.l.s.g.ObsoleteBugAttachmentDeleter(TunableLoop) : class documentation

Part of canonical.launchpad.scripts.garbo View In Hierarchy

Delete bug attachments without a LibraryFileContent record.

Our database schema allows LibraryFileAlias records that have no corresponding LibraryFileContent records.

This class deletes bug attachments that reference such "content free" and thus completely useless LFA records.

Method __init__ Undocumented
Method isDone Return True when the TunableLoop is complete.
Method __call__ Perform an iteration of the loop.
Method _to_remove Undocumented

Inherited from TunableLoop:

Method run Undocumented
def __init__(self, log, abort_time=None):
Undocumented
def _to_remove(self):
Undocumented
def isDone(self):
Return True when the TunableLoop is complete.
def __call__(self, chunk_size):
Perform an iteration of the loop.

The chunk_size parameter says (in some way you define) how much work the LoopTuner believes you should try to do in this iteration in order to get as close as possible to your time goal.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.