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:
Łukasz Langa 2017-10-18 17:28:51 -07:00 committed by GitHub
parent 032a6480e3
commit 0b6a118a45
3 changed files with 16 additions and 2 deletions

View file

@ -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):