~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/request_daily_builds.py

  • Committer: Tim Penhey
  • Date: 2010-12-15 02:53:37 UTC
  • mto: This revision was merged to the branch mainline in revision 12116.
  • Revision ID: tim.penhey@canonical.com-20101215025337-eu5dqoqh7n0ae422
Log the recipes that are having daily builds requested.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    def main(self):
35
35
        globalErrorUtility.configure(self.name)
36
36
        source = getUtility(ISourcePackageRecipeBuildSource)
37
 
        builds = source.makeDailyBuilds()
 
37
        builds = source.makeDailyBuilds(self.logger)
38
38
        self.logger.info('Requested %d daily builds.' % len(builds))
39
39
        transaction.commit()
40
40