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: Sat, 24 Dec 2016 09:41:22
Message-Id: 1482572426.82fb94f1ab462d303c150de52f93945b77599c95.dolsen@gentoo
1 commit: 82fb94f1ab462d303c150de52f93945b77599c95
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: Sat Dec 24 09:40:26 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=82fb94f1
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 12b8efa..49fa68b 100644
15 --- a/gkeys/gkeys/actions.py
16 +++ b/gkeys/gkeys/actions.py
17 @@ -749,7 +749,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 @@ -838,6 +837,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)