From 0323f9f71f9a55e101b615058c00080112611e52 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Mon, 22 Dec 2008 21:11:19 -0600 Subject: [PATCH] Missing / before 'iso' --- ChangeLog | 4 ++++ modules/generic_stage_target.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54797d9f..cde73c4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Distributed under the GPL v2 + 23 Dec 2008; Andrew Gaffney + modules/generic_stage_target.py: + Missing / before 'iso' + 22 Dec 2008; Andrew Gaffney modules/snapshot_target.py: Add support for purging to snapshot target diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 6177eeaa..fe02600a 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -334,7 +334,7 @@ class generic_stage_target(generic_target): def set_iso(self): if self.settings.has_key(self.settings["spec_prefix"]+"/iso"): - if self.settings[self.settings["spec_prefix"]+"iso"].startswith('/'): + if self.settings[self.settings["spec_prefix"]+"/iso"].startswith('/'): self.settings["iso"]=\ normpath(self.settings[self.settings["spec_prefix"]+"/iso"]) else: @@ -342,7 +342,7 @@ class generic_stage_target(generic_target): # if it doesn't start with a / self.settings["iso"] = normpath(self.settings["storedir"] + \ "/builds/" + self.settings["rel_type"] + "/" + \ - self.settings[self.settings["spec_prefix"]+"iso"]) + self.settings[self.settings["spec_prefix"]+"/iso"]) del self.settings[self.settings["spec_prefix"]+"/iso"] def set_fstype(self): -- 2.26.2