Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-keys:gsoc-2016 commit in: gkeys/gkeys/
Date: Fri, 23 Dec 2016 08:37:29
Message-Id: 1482478602.a537deef9c974b52cec402fc7f0f7cc9401814a2.dolsen@gentoo
1 commit: a537deef9c974b52cec402fc7f0f7cc9401814a2
2 Author: aeroniero33 <justthisthing <AT> gmail <DOT> com>
3 AuthorDate: Sat Jun 18 16:59:58 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 23 07:36:42 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=a537deef
7
8 Fixed a bug in the verify function
9
10 gkeys/gkeys/actions.py | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13 diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
14 index 849568d..6ce4199 100644
15 --- a/gkeys/gkeys/actions.py
16 +++ b/gkeys/gkeys/actions.py
17 @@ -746,7 +746,6 @@ class Actions(ActionBase):
18 messages.append(_unicode("Using config defaults..: %s %s")
19 % (args.category, args.nick))
20 return self.verify(args, messages)
21 -
22 return self._verify(args, key, messages)
23
24
25 @@ -833,6 +832,8 @@ class Actions(ActionBase):
26 break
27 else:
28 sig_path = None
29 + elif signature:
30 + sig_path = os.path.abspath(signature)
31 self.logger.info("Verifying file...")
32 verified = False
33 results = self.gpg.verify_file(key, sig_path, filepath)