commit:     1e31e93f99f1e6bc42517d0967e3e61f20edbc91
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 23:32:51 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 23:35:54 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=1e31e93f

repoman.actions.Action._manifest_get: return True on success

Return True on success, like it says in the docstring.
The return value is currently not checked by the caller
of this method, so that code can remain as-is for now.

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 repoman/lib/repoman/actions.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/repoman/lib/repoman/actions.py b/repoman/lib/repoman/actions.py
index 4980f11eb..1c9989a72 100644
--- a/repoman/lib/repoman/actions.py
+++ b/repoman/lib/repoman/actions.py
@@ -265,9 +265,9 @@ the whole commit message to abort.
                @return: True if successful, False otherwise
                """
                self.repoman_settings["O"] = 
os.path.join(self.repo_settings.repodir, cp)
-               return not digestgen(
+               return bool(digestgen(
                        mysettings=self.repoman_settings,
-                       myportdb=self.repo_settings.portdb)
+                       myportdb=self.repo_settings.portdb))
 
        def _suggest(self):
                print()

Reply via email to