~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/process-job-source-groups.py

Merged pcj-more-often-bug-770721-pre into pcj-more-often-bug-770721.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
import _pythonpath
17
17
 
18
18
from canonical.config import config
 
19
from canonical.launchpad.helpers import english_list
19
20
from lp.services.propertycache import cachedproperty
20
21
from lp.services.scripts.base import LaunchpadCronScript
21
22
 
68
69
        # Then, exclude job sources.
69
70
        for source in self.options.excluded_job_sources:
70
71
            if source not in selected_job_sources:
71
 
                self.logger.info('%r is not in job source groups %s'
72
 
                                  % (source, self.options.groups))
 
72
                self.logger.info(
 
73
                    '%r is not in %s' % (
 
74
                        source, english_list(selected_groups, "or")))
73
75
            else:
74
76
                selected_job_sources.remove(source)
75
77
        # Process job sources.