summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2017-10-19 00:28:51 (GMT)
committerGitHub <noreply@github.com>2017-10-19 00:28:51 (GMT)
commit0b6a118a45ac2eded1348fea6ed300d5651f7471 (patch)
treec4669de7f6be919053a564411ff6b8f559eb1fa9 /Lib/logging
parent032a6480e360427d4f964e31643604fad804ea14 (diff)
downloadcpython-0b6a118a45ac2eded1348fea6ed300d5651f7471.zip
cpython-0b6a118a45ac2eded1348fea6ed300d5651f7471.tar.gz
cpython-0b6a118a45ac2eded1348fea6ed300d5651f7471.tar.bz2
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.
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index b941eab..7544190 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):