~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to cronscripts/buildd-queue-builder.py

  • Committer: Celso Providelo
  • Date: 2007-11-23 16:44:08 UTC
  • mto: This revision was merged to the branch mainline in revision 5242.
  • Revision ID: celso.providelo@canonical.com-20071123164408-c2pp47zwzqosjpjd
applying review comments, r=intelletronica.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        if self.args:
40
40
            raise LaunchpadScriptFailure("Unhandled arguments %r" % self.args)
41
41
 
42
 
        # XXX cprov 2007-03-21: In order to avoid the partial commits inside
43
 
        # BuilddMaster to happen we pass a FakeZtm instance
 
42
        # In order to avoid the partial commits inside BuilddMaster
 
43
        # to happen we pass a FakeZtm instance if dry-run mode is selected.
44
44
        class _FakeZTM:
45
45
            """A fake transaction manager."""
46
46
            def commit(self):