def install(self): rmdirRecursive("moznightlyapp") subprocess._cleanup = lambda : None # mikeal's fix for subprocess threading bug MozInstaller(src=self.dest, dest="moznightlyapp", dest_app="Mozilla.app")
def __del__(self): # cleanup rmdirRecursive('moznightlyapp') if self.lastdest: os.remove(self.lastdest)