commit:     de9801740fcbdb80c582308d7a4f2fef6b2b6aed
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 23 19:58:03 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jul 23 19:58:03 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=de980174

git: add missing return statement in fix for bug 661906

Fixes: dc1ba7729c42 ("git: fix key refresh failure to trigger abort (bug 
661906)")
Bug: https://bugs.gentoo.org/661906

 lib/portage/sync/modules/git/git.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/portage/sync/modules/git/git.py 
b/lib/portage/sync/modules/git/git.py
index 33f71b510..e41af313e 100644
--- a/lib/portage/sync/modules/git/git.py
+++ b/lib/portage/sync/modules/git/git.py
@@ -227,7 +227,7 @@ class GitSync(NewBase):
                                        writemsg_level("!!! Verification 
impossible due to keyring problem:\n%s\n"
                                                        % (e,),
                                                        level=logging.ERROR, 
noiselevel=-1)
-                                       False
+                                       return False
 
                                env = os.environ.copy()
                                env['GNUPGHOME'] = openpgp_env.home

Reply via email to