mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
032a6480e3
commit
0b6a118a45
3 changed files with 16 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue