oops
authorDaniel Robbins <drobbins@gentoo.org>
Sun, 16 Nov 2003 06:19:38 +0000 (06:19 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Sun, 16 Nov 2003 06:19:38 +0000 (06:19 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@87 d1e1f19c-881f-0410-ab34-b69fee027534

modules/targets.py

index 7c134691970c28885b379823686b9067b0571368..f83be962a8b9adab3c3141f43a5257b20f9f6658 100644 (file)
@@ -115,7 +115,7 @@ class generic_stage_target(generic_target):
                self.mount_safety_check()
                cmd("rm -rf "+self.settings["chroot_path"],"Could not remove existing directory: "+self.settings["chroot_path"])
                os.makedirs(self.settings["chroot_path"])
-               if self.settings.has_key["PKGCACHE"]:   
+               if self.settings.has_key("PKGCACHE"):   
                        if not os.path.exists(self.settings["pkgcache_path"]):
                                os.makedirs(self.settings["pkgcache_path"])