From 7115affea0e67613d755e40a329eaedb5886f2f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 1 Feb 2022 17:06:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20Change=20deprecation=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We no longer need io.open, so don't refer to it either. --- src/octoprint/util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/__init__.py b/src/octoprint/util/__init__.py index 14fbae76f..3ba55877f 100644 --- a/src/octoprint/util/__init__.py +++ b/src/octoprint/util/__init__.py @@ -1034,7 +1034,7 @@ def temppath(prefix=None, suffix=""): TemporaryDirectory = tempfile.TemporaryDirectory -@deprecated("Please use io.open with '-sig' encoding instead", since="1.8.0") +@deprecated("Please use open with '-sig' encoding instead", since="1.8.0") def bom_aware_open(filename, encoding="ascii", mode="r", **kwargs): # TODO Remove in 2.0.0 import codecs