public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Dolbec <dolsen@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: [gentoo-catalyst] [PATCH 2/5] generic_stage_target.py: Fix an intermittent snapshot_cache_path keyerror
Date: Sun,  2 Mar 2014 15:00:59 -0800	[thread overview]
Message-ID: <1393801262-13820-2-git-send-email-dolsen@gentoo.org> (raw)

---
 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"]
-- 
1.8.5.3



             reply	other threads:[~2014-03-02 23:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-02 23:00 Brian Dolbec [this message]
2014-03-02 23:01 ` [gentoo-catalyst] [PATCH 3/5] Add more working files, directories to .gitignore Brian Dolbec
2014-03-03  3:07   ` Brian Dolbec
2014-03-05  4:50   ` [gentoo-catalyst] " W. Trevor King
2014-03-05  5:17     ` Brian Dolbec
2014-03-05 15:32       ` W. Trevor King
2014-03-22 17:47         ` Brian Dolbec
2014-03-02 23:01 ` [gentoo-catalyst] [PATCH 4/5] catalyst/targets/generic_target.py: Pass TERM through to the chroot Brian Dolbec
2014-03-08 18:38   ` W. Trevor King
2014-03-02 23:01 ` [gentoo-catalyst] [PATCH 5/5] Add arm64 support Brian Dolbec
2014-03-03  3:05   ` Brian Dolbec
2014-03-05  4:47 ` [gentoo-catalyst] Re: [PATCH 2/5] generic_stage_target.py: Fix an intermittent snapshot_cache_path keyerror W. Trevor King
2014-03-05  5:25   ` Brian Dolbec
2014-03-08 18:25     ` [gentoo-catalyst] [PATCH] generic_stage_target: Don't set mountmap['portdir'] without SNAPCACHE W. Trevor King
2014-03-22 22:39       ` Brian Dolbec
2014-03-24  5:08         ` W. Trevor King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393801262-13820-2-git-send-email-dolsen@gentoo.org \
    --to=dolsen@gentoo.org \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox