On Thu, Oct 08, 2009 at 10:48:12AM -0000, Soren Hansen wrote:
> On Mon, Oct 05, 2009 at 11:10:25AM -0000, Colin Watson wrote:
> > + def install_bootloader_cleanup(self):
> > + self.vm.cancel_cleanup(self.install_bootloader_cleanup)
>
> Clever! I can think of a bunch of places this would be useful.
Not my idea, actually; I borrowed it from
VMBuilder.disk.Filesystem.umount. :-)
On Thu, Oct 08, 2009 at 10:48:12AM -0000, Soren Hansen wrote: bootloader_ cleanup( self): cancel_ cleanup( self.install_ bootloader_ cleanup)
> On Mon, Oct 05, 2009 at 11:10:25AM -0000, Colin Watson wrote:
> > + def install_
> > + self.vm.
>
> Clever! I can think of a bunch of places this would be useful.
Not my idea, actually; I borrowed it from disk.Filesystem .umount. :-)
VMBuilder.
--
Colin Watson [<email address hidden>]