~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/check-teamparticipation.py

Merged check-teamparticipation-fix-too-bug-897269 into check-teamparticipation-remove-self.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    check_teamparticipation_circular,
25
25
    check_teamparticipation_consistency,
26
26
    fetch_team_participation_info,
 
27
    fix_teamparticipation_consistency,
27
28
    )
28
29
from lp.services.scripts.base import LaunchpadScript
29
30
from lp.services.utils import (
57
58
        if self.options.save_info:
58
59
            save_bz2_pickle(participation_info, self.options.save_info)
59
60
        else:
60
 
            check_teamparticipation_consistency(
 
61
            errors = check_teamparticipation_consistency(
61
62
                self.logger, participation_info)
 
63
            fix_teamparticipation_consistency(self.logger, errors)
62
64
 
63
65
 
64
66
if __name__ == '__main__':