We want update_seed to be optional.
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Fri, 31 Aug 2012 00:33:37 +0000 (00:33 +0000)
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Fri, 31 Aug 2012 00:34:25 +0000 (00:34 +0000)
modules/stage1_target.py

index f350ac7705edca61a05c75327ac5a3a8d3eea6a9..876d2c3616d7e415005028e8dab547618c284bcf 100644 (file)
@@ -98,7 +98,7 @@ class stage1_target(generic_stage_target):
                self.mountmap["/tmp/stage1root/proc"]="/proc"
 
        def set_update_seed(self):
-               if self.settings.has_key(self.settings["update_seed"]):
+               if self.settings.has_key("update_seed"):
                        self.settings["update_seed_cache"]=self.settings["update_seed"]
 
 def register(foo):