Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/gkeys/
Date: Sat, 07 Jul 2018 05:24:02
Message-Id: 1530940934.8c0866aa69f3b0c600d1f2f9ad7942f563409f4a.dolsen@gentoo
1 commit: 8c0866aa69f3b0c600d1f2f9ad7942f563409f4a
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 5 18:50:41 2018 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 7 05:22:14 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=8c0866aa
7
8 gkeys actions.py: Exit smoothly if fetch failed to get a new file
9
10 Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>
11
12 gkeys/gkeys/actions.py | 3 +++
13 1 file changed, 3 insertions(+)
14
15 diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
16 index fd92a77..539ff26 100644
17 --- a/gkeys/gkeys/actions.py
18 +++ b/gkeys/gkeys/actions.py
19 @@ -834,6 +834,9 @@ class Actions(ActionBase):
20 climit=climit)
21 sig_path = fetcher.sig_path
22 messages.extend(msgs)
23 + if not success:
24 + self.logger.debug(_unicode("ACTIONS: _verify; File not downloaded, exiting... %s"), filepath)
25 + return (False, messages)
26 elif signature is not None and os.path.exists(signature):
27 sig_path = signature
28 else: