From cfb350b4fb0064f394df1dbb6427c8b0fcbbd9f2 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Fri, 18 Nov 2005 22:30:22 +0000 Subject: [PATCH] Fix split error if use is specified git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@902 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 6 +++++- modules/generic_stage_target.py | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a242810f..68fce54b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.390 2005/11/18 22:12:38 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.391 2005/11/18 22:30:22 rocket Exp $ + + 18 Nov 2005; Eric Edgar + modules/generic_stage_target.py: + Fix split error if use is specified 18 Nov 2005; Chris Gianelloni -livecd/cdtar/palo-1.2_pre20030630-cdtar.tar.bz2, diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 2dd0761d..996b5769 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.78 2005/11/18 02:25:44 rocket Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.79 2005/11/18 22:30:22 rocket Exp $ """ This class does all of the chroot setup, copying of files, etc. It is @@ -771,7 +771,7 @@ class generic_stage_target(generic_target): myusevars.extend(self.settings["HOSTUSE"]) if self.settings.has_key("use"): - myusevars.extend(self.settings["use"].split()) + myusevars.extend(self.settings["use"]) myf.write('USE="'+string.join(myusevars)+'"\n') # setup the portage overlay -- 2.26.2