From 19a6f61f0ec9f365c1b8a5a3b94c49c3f27db45b Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Fri, 18 Sep 2009 14:22:16 -0500 Subject: [PATCH] Fix typo for Gentoo bug #285484 --- ChangeLog | 4 ++++ modules/catalyst/target/generic_stage.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44d080a8..5e5b50fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,10 @@ # Distributed under the GPL v2 # $Id$ + 18 Sep 2009; Andrew Gaffney + modules/catalyst/target/generic_stage.py: + Fix typo for Gentoo bug #285484 + 14 Sep 2009; Andrew Gaffney modules/catalyst/target/generic_stage.py: Rewrite unpack_snapshot() to suck less diff --git a/modules/catalyst/target/generic_stage.py b/modules/catalyst/target/generic_stage.py index de4cda1c..44be4416 100644 --- a/modules/catalyst/target/generic_stage.py +++ b/modules/catalyst/target/generic_stage.py @@ -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 -- 2.26.2