From 4fab2cf41c3c373b52b897237c61ea2a232a3f09 Mon Sep 17 00:00:00 2001 From: Julia Bremer Date: Tue, 20 Jun 2023 10:06:26 +0200 Subject: [PATCH] Fix fileno traceback --- base/univention-lib/python/package_manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git base/univention-lib/python/package_manager.py base/univention-lib/python/package_manager.py index 6fc2bf4563..2ae1b8825c 100644 --- base/univention-lib/python/package_manager.py +++ base/univention-lib/python/package_manager.py @@ -45,7 +45,6 @@ import sys import threading from contextlib import contextmanager from errno import ENOENT, ENOSPC -from io import TextIOBase from logging import DEBUG, Handler, getLogger from time import sleep from types import TracebackType # noqa: F401 @@ -203,7 +202,7 @@ class ProgressState(object): return result -class MessageWriter(TextIOBase): +class MessageWriter(object): """ Mimics a :py:func:`file` object supports :py:meth:`flush` and :py:meth:`write`. Writes no '\\r', -- 2.25.1