commit:     a971e42040721be5ba7c18605e3cef254b266175
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Wed Jan 21 19:38:17 2026 +0000
Commit:     Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Wed Jan 21 22:25:53 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=a971e420

remove dead code

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>

 src/pkgcore/config/central.py | 1 -
 src/pkgcore/ebuild/ebd.py     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/pkgcore/config/central.py b/src/pkgcore/config/central.py
index c33beaec..31251d27 100644
--- a/src/pkgcore/config/central.py
+++ b/src/pkgcore/config/central.py
@@ -597,4 +597,3 @@ class ConfigManager:
             raise errors.ConfigurationError(
                 f"failed instantiating default {type_name} {defaults[0][0]!r}"
             ) from e
-        return None

diff --git a/src/pkgcore/ebuild/ebd.py b/src/pkgcore/ebuild/ebd.py
index 9d5c53fe..1dc50b62 100644
--- a/src/pkgcore/ebuild/ebd.py
+++ b/src/pkgcore/ebuild/ebd.py
@@ -558,7 +558,6 @@ def run_generic_phase(
                 raise format.GenericBuildError(
                     phase + ": Failed building (False/0 return from handler)"
                 )
-                logger.warning(f"executing phase {phase}: execution failed, 
ignoring")
     except Exception as e:
         if isinstance(e, ebd_ipc.IpcError):
             # notify bash side of IPC error

Reply via email to