From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B7B48138F21 for ; Sat, 22 Feb 2014 18:43:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0840E0B36; Sat, 22 Feb 2014 18:43:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BB26E0B34 for ; Sat, 22 Feb 2014 18:43:31 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CCE533FAC5 for ; Sat, 22 Feb 2014 18:43:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id CD171188F0 for ; Sat, 22 Feb 2014 18:43:27 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1393093901.8f9a2140ebb394fe4210ac6273e0916cf96438fd.dol-sen@gentoo> Subject: [gentoo-commits] proj/catalyst:pending commit in: catalyst/targets/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/targets/generic_stage_target.py X-VCS-Directories: catalyst/targets/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 8f9a2140ebb394fe4210ac6273e0916cf96438fd X-VCS-Branch: pending Date: Sat, 22 Feb 2014 18:43:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e2086780-874a-4b03-8b48-4d8f828e248a X-Archives-Hash: 1c0c4daf63d4d1fec008e1710cfe9d6e commit: 8f9a2140ebb394fe4210ac6273e0916cf96438fd Author: Brian Dolbec gentoo org> AuthorDate: Sat Jan 11 00:13:06 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sat Feb 22 18:31:41 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=8f9a2140 generic_stage_target.py: Fix an intermittent snapshot_cache_path keyerror --- catalyst/targets/generic_stage_target.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/catalyst/targets/generic_stage_target.py b/catalyst/targets/generic_stage_target.py index 095327a..7fd583e 100644 --- a/catalyst/targets/generic_stage_target.py +++ b/catalyst/targets/generic_stage_target.py @@ -470,10 +470,10 @@ class generic_stage_target(generic_target): hash_function=self.settings["hash_function"],verbose=False) def set_snapcache_path(self): + self.settings["snapshot_cache_path"] = \ + normpath(self.settings["snapshot_cache"] + "/" + + self.settings["snapshot"]) if "SNAPCACHE" in self.settings: - self.settings["snapshot_cache_path"] = \ - normpath(self.settings["snapshot_cache"] + "/" + - self.settings["snapshot"]) self.snapcache_lock=\ LockDir(self.settings["snapshot_cache_path"]) print "Caching snapshot to "+self.settings["snapshot_cache_path"]