From: Daniel Robbins Date: Tue, 11 Nov 2003 06:56:54 +0000 (+0000) Subject: snapshot clean fix X-Git-Tag: CATALYST_1_0_1~162 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=300ff2459a96002f88ffa8b2a9d058d82db44690;p=catalyst.git snapshot clean fix git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@78 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/modules/targets.py b/modules/targets.py index 08ab5cde..780ac06a 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -273,10 +273,9 @@ class snapshot_target(generic_target): self.cleanup() def cleanup(self): - mytmp=self.settings["tmp_path"]+"/"+self.settings["target_subpath"] print "Cleaning up temporary snapshot directory..." #Be a good citizen and clean up after ourselves - cmd("rm -rf "+mytmp,"Snapshot cleanup failure") + cmd("rm -rf "+self.settings["tmp_path"],"Snapshot cleanup failure") class stage1_target(generic_stage_target): def __init__(self,spec,addlargs):