commit: d75a411aaec59a203b98246711377807a2d548d0 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sat Jul 9 20:13:23 2022 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Jul 9 20:26:18 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=d75a411a
portage.eapi: remove debug logging statement This ensures we don't accidentally break portage API consumers that fail to configure the root logger before calling the portage API. Bug: https://bugs.gentoo.org/838406 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> lib/portage/eapi.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/portage/eapi.py b/lib/portage/eapi.py index e3c951453..2c1701870 100644 --- a/lib/portage/eapi.py +++ b/lib/portage/eapi.py @@ -2,7 +2,6 @@ # Distributed under the terms of the GNU General Public License v2 import collections -import logging from functools import lru_cache from typing import Optional @@ -219,7 +218,6 @@ def _get_eapi_attrs(eapi_str: Optional[str]) -> _eapi_attrs: be helpful for handling of corrupt EAPI metadata in essential functions such as pkgsplit. """ - logging.info("cache info: {}".format(_get_eapi_attrs.cache_info())) if eapi_str is None or not eapi_is_supported(eapi_str): return _eapi_attrs( allows_package_provided=True,
