Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/base/
Date: Tue, 31 Dec 2013 10:48:44
Message-Id: 1388484018.f37d689082ebce4c950a12c20758917a64246368.dol-sen@gentoo
1 commit: f37d689082ebce4c950a12c20758917a64246368
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 31 09:00:16 2013 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Tue Dec 31 10:00:18 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=f37d6890
7
8 Report the task exception that occurred.
9
10 ---
11 catalyst/base/stagebase.py | 5 +++--
12 1 file changed, 3 insertions(+), 2 deletions(-)
13
14 diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
15 index b0144f6..a196c36 100644
16 --- a/catalyst/base/stagebase.py
17 +++ b/catalyst/base/stagebase.py
18 @@ -1332,9 +1332,10 @@ class StageBase(TargetBase, ClearBase, GenBase):
19 sys.stdout.flush()
20 try:
21 apply(getattr(self,x))
22 - except:
23 + except Exception as e:
24 + print "--- Exeption running action sequence:" + x
25 self.mount_safety_check()
26 - raise
27 + raise e
28
29 self.chroot_lock.unlock()