~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/model/translationtemplatesbuildbehavior.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-07 20:08:28 UTC
  • mfrom: (13843.8.3 bug-817398-better-logging)
  • Revision ID: launchpad@pqm.canonical.com-20110907200828-7cvxx4kcq3tw56uz
[r=henninge][bug=817398][no-qa][incr] Log end of
        TranslationTemplatesBuildJobs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        chroot = self._getChroot()
47
47
        chroot_sha1 = chroot.content.sha1
48
48
        d = self._builder.slave.cacheFile(logger, chroot)
 
49
 
49
50
        def got_cache_file(ignored):
50
51
            cookie = self.buildfarmjob.generateSlaveBuildCookie()
51
52
 
121
122
        """
122
123
        build_status = self.extractBuildStatus(slave_status)
123
124
 
124
 
        logger.debug(
 
125
        logger.info(
125
126
            "Templates generation job %s for %s finished with status %s." % (
126
127
            queue_item.specific_job.getName(),
127
128
            queue_item.specific_job.branch.bzr_identity,
163
164
            return d
164
165
 
165
166
        return clean_slave(None)
166