Added another '=' for a comparison.
authorNicholas Jones <carpaski@gentoo.org>
Wed, 11 Feb 2004 21:57:39 +0000 (21:57 +0000)
committerNicholas Jones <carpaski@gentoo.org>
Wed, 11 Feb 2004 21:57:39 +0000 (21:57 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@219 d1e1f19c-881f-0410-ab34-b69fee027534

modules/targets.py

index 341d84c496b023a89fef1969f829e175b354df96..5931870635f26fe38ccc76b2ff2f1bf026621bad 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.83 2004/02/11 21:40:26 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.84 2004/02/11 21:57:39 carpaski Exp $
 
 import os,string,imp,types,shutil
 from catalyst_support import *
@@ -542,7 +542,7 @@ class livecd_stage2_target(generic_stage_target):
                        for extra in ["use","packages"]:
                                if self.settings.has_key("boot/kernel/"+kname+"/"+extra):
                                        myex=self.settings["boot/kernel/"+kname+"/"+extra]
-                                       if type(myex)=ListType:
+                                       if type(myex)==ListType:
                                                myex=string.join(myex)
                                        try:
                                                myf=open(self.settings["chroot_path"]+"/var/tmp"+kname+"."+extra,"w")