From 0b6a118a45ac2eded1348fea6ed300d5651f7471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Wed, 18 Oct 2017 17:28:51 -0700 Subject: bpo-31457: Make the `LoggerAdapter.manager` property settable (#4042) Due to a bug in the initial fix, the setter was in fact creating a different property. This is now fixed. --- Lib/logging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/logging') diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index b941eab97d..7544190660 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -1757,7 +1757,7 @@ class LoggerAdapter(object): return self.logger.manager @manager.setter - def set_manager(self, value): + def manager(self, value): self.logger.manager = value def __repr__(self): -- cgit v1.2.1