Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/
Date: Sat, 27 Oct 2018 23:39:58
Message-Id: 1540683354.1e31e93f99f1e6bc42517d0967e3e61f20edbc91.zmedico@gentoo
1 commit: 1e31e93f99f1e6bc42517d0967e3e61f20edbc91
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 27 23:32:51 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 27 23:35:54 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1e31e93f
7
8 repoman.actions.Action._manifest_get: return True on success
9
10 Return True on success, like it says in the docstring.
11 The return value is currently not checked by the caller
12 of this method, so that code can remain as-is for now.
13
14 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
15
16 repoman/lib/repoman/actions.py | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 diff --git a/repoman/lib/repoman/actions.py b/repoman/lib/repoman/actions.py
20 index 4980f11eb..1c9989a72 100644
21 --- a/repoman/lib/repoman/actions.py
22 +++ b/repoman/lib/repoman/actions.py
23 @@ -265,9 +265,9 @@ the whole commit message to abort.
24 @return: True if successful, False otherwise
25 """
26 self.repoman_settings["O"] = os.path.join(self.repo_settings.repodir, cp)
27 - return not digestgen(
28 + return bool(digestgen(
29 mysettings=self.repoman_settings,
30 - myportdb=self.repo_settings.portdb)
31 + myportdb=self.repo_settings.portdb))
32
33 def _suggest(self):
34 print()