~jamalta/launchpad/bug-127489

« back to all changes in this revision

Viewing changes to cronscripts/check-teamparticipation.py

[r=sinzui][ui=none] All names defined in lp.registry.model are no
        longer available under canonical.launchpad.database

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import _pythonpath
25
25
 
26
26
from canonical.database.sqlbase import cursor
27
 
from canonical.launchpad.database import Person
28
27
from canonical.launchpad.scripts import (
29
28
    execute_zcml_for_scripts, logger_options, logger)
30
29
from canonical.lp import initZopeless
82
81
                participants.update(get_participants(member))
83
82
        return participants
84
83
 
 
84
    from lp.registry.model.person import Person
85
85
    batch = team_ids[:50]
86
86
    team_ids = team_ids[50:]
87
87
    while batch: