diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2017-10-18 17:28:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-18 17:28:51 -0700 |
commit | 0b6a118a45ac2eded1348fea6ed300d5651f7471 (patch) | |
tree | c4669de7f6be919053a564411ff6b8f559eb1fa9 /Lib/logging | |
parent | 032a6480e360427d4f964e31643604fad804ea14 (diff) | |
download | cpython-git-0b6a118a45ac2eded1348fea6ed300d5651f7471.tar.gz |
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__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |