From fc8bd88cf472e7b66f93df23cbc8ba61987ac9c3 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Sat, 18 Jan 2025 13:01:26 -0800 Subject: [PATCH] releng: fix for newer xonsh Looks like a module rename Change-Id: I281e41b8781fa5aa75a3bcb6e6907e582f46dcb7 --- releng/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releng/__init__.py b/releng/__init__.py index 65f8476af..dc254ed7f 100644 --- a/releng/__init__.py +++ b/releng/__init__.py @@ -6,7 +6,7 @@ del setup import logging import sys -import xonsh.base_shell +import xonsh.shells.base_shell from . import environment from . import create_release @@ -56,7 +56,7 @@ def setup_logging(): # the real stderr because this survives across multiple command runs. # # This only applies when running xonsh in interactive mode and importing releng. - if isinstance(sys.stderr, xonsh.base_shell._TeeStd): + if isinstance(sys.stderr, xonsh.shells.base_shell._TeeStd): stderr = stderr.std # type: ignore hand = logging.StreamHandler(stream=stderr)