From ee405440ab6d4b9f9343c8303545c9d92f9328eb Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Tue, 20 Jan 2004 20:44:36 +0000 Subject: [PATCH] getting clean to work git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@184 d1e1f19c-881f-0410-ab34-b69fee027534 --- modules/targets.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/targets.py b/modules/targets.py index 964300fe..9a98f835 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -506,12 +506,12 @@ class livecd_stage3_target(generic_stage_target): self.unbind() raise -# def clean(self): -# try: -# cmd("env ARCH_RUNSCRIPT="+self.settings["livecd/archscript"]+" LOOPTYPE="+self.settings["livecd/looptype"]+" /bin/bash "+self.settings["livecd/runscript"]+" clean","clean runscript failed.") -# except: -# self.unbind() -# raise + def clean(self): + try: + cmd("env ARCH_RUNSCRIPT="+self.settings["livecd/archscript"]+" LOOPTYPE="+self.settings["livecd/looptype"]+" /bin/bash "+self.settings["livecd/runscript"]+" clean","clean runscript failed.") + except: + self.unbind() + raise def cdroot_setup(self): if os.path.exists(self.settings["cdroot_path"]): -- 2.26.2