Gentoo Archives: gentoo-catalyst

From: Mike Frysinger <vapier@g.o>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] [PATCH 6/9] hash_utils: fix bad keyword w/CatalystError
Date: Mon, 12 Oct 2015 04:36:33
Message-Id: 1444624562-26162-6-git-send-email-vapier@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 1/9] convert octals to py3 compat by Mike Frysinger
1 The exception takes "print_traceback", not "traceback".
2 ---
3 catalyst/hash_utils.py | 2 +-
4 1 file changed, 1 insertion(+), 1 deletion(-)
5
6 diff --git a/catalyst/hash_utils.py b/catalyst/hash_utils.py
7 index 3db61f1..1161da3 100644
8 --- a/catalyst/hash_utils.py
9 +++ b/catalyst/hash_utils.py
10 @@ -79,7 +79,7 @@ class HashMap(object):
11 hash_)
12 except:
13 raise CatalystError("Error generating hash, is appropriate " + \
14 - "utility installed on your system?", traceback=True)
15 + "utility installed on your system?", print_traceback=True)
16
17
18 def calc_hash(self, file_, hash_):
19 --
20 2.5.2