Fix typo for Gentoo bug #285484
authorAndrew Gaffney <agaffney@gentoo.org>
Fri, 18 Sep 2009 19:22:16 +0000 (14:22 -0500)
committerAndrew Gaffney <agaffney@gentoo.org>
Fri, 18 Sep 2009 19:22:16 +0000 (14:22 -0500)
ChangeLog
modules/catalyst/target/generic_stage.py

index 44d080a8f5eea25e8416d06dd5e58fa51e059aef..5e5b50fb735c895d15b20fc86612433dd974e076 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
 # Distributed under the GPL v2
 # $Id$
 
+  18 Sep 2009; Andrew Gaffney <agaffney@gentoo.org>
+  modules/catalyst/target/generic_stage.py:
+  Fix typo for Gentoo bug #285484
+
   14 Sep 2009; Andrew Gaffney <agaffney@gentoo.org>
   modules/catalyst/target/generic_stage.py:
   Rewrite unpack_snapshot() to suck less
index de4cda1c80328798f297c5c1a03086de51d7a64b..44be4416435e4054279dc4623e6764ccdccc95b2 100644 (file)
@@ -533,7 +533,7 @@ class generic_stage_target(generic_target):
        def unpack_snapshot(self):
                if "SNAPCACHE" in self.settings:
                        snapshot_cache_hash = catalyst.util.readfile(self.settings["snapshot_cache_path"] + "catalyst-hash")
-                       if snapshot_cache_hash = self.settings["snapshot_path_hash"]:
+                       if snapshot_cache_hash == self.settings["snapshot_path_hash"]:
                                msg("Valid snapshot cache, skipping unpack of portage tree...")
                                return