From 300ff2459a96002f88ffa8b2a9d058d82db44690 Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Tue, 11 Nov 2003 06:56:54 +0000 Subject: [PATCH] snapshot clean fix git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@78 d1e1f19c-881f-0410-ab34-b69fee027534 --- modules/targets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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): -- 2.26.2