fix
authorBrad House <brad_mssw@gentoo.org>
Mon, 23 Feb 2004 05:49:40 +0000 (05:49 +0000)
committerBrad House <brad_mssw@gentoo.org>
Mon, 23 Feb 2004 05:49:40 +0000 (05:49 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@244 d1e1f19c-881f-0410-ab34-b69fee027534

modules/targets.py

index 9df927ebdaf62d77c7467f1ce32a69b93e64d856..5a22766fea02715555e2f46460146715043ebf2e 100644 (file)
@@ -1,6 +1,6 @@
 # Distributed under the GNU General Public License version 2
 # Copyright 2003-2004 Gentoo Technologies, Inc.
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.89 2004/02/22 19:51:18 drobbins Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.90 2004/02/23 05:49:40 brad_mssw Exp $
 
 import os,string,imp,types,shutil
 from catalyst_support import *
@@ -385,7 +385,7 @@ class grp_target(generic_stage_target):
                if not addlargs.has_key("grp"):
                        raise CatalystError,"Required value \"grp\" not specified in spec."
                self.required_values.extend(["grp","grp/use"])
-               if type(addlargs["grp"])==StringType:
+               if type(addlargs["grp"])==types.StringType:
                        addlargs["grp"]=[addlargs["grp"]]
                for x in addlargs["grp"]:
                        self.required_values.append("grp/"+x+"/packages")