commit: 4536a30781c9b3ca7245a39634093e93ccd5344c
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 15 16:44:18 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue Dec 15 16:44:18 2015 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4536a307
stagebase.py: Clean out some dead set_target_path() code
catalyst/base/stagebase.py | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 62950b5..92f300e 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -343,16 +343,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
and self.resume.is_enabled("setup_target_path"):
log.notice('Resume point detected, skipping target path
setup operation...')
else:
- # First clean up any existing target stuff
- # XXX WTF are we removing the old tarball before we
start building the
- # XXX new one? If the build fails, you don't want to be
left with
- # XXX nothing at all
-# if os.path.isfile(self.settings["target_path"]):
-# cmd("rm -f "+self.settings["target_path"],\
-# "Could not remove existing file: "\
-#
+self.settings["target_path"],env=self.env)
self.resume.enable("setup_target_path")
-
ensure_dirs(self.settings["storedir"] + "/builds")
def set_fsscript(self):