diff options
author | Max <msuraev@sysmocom.de> | 2017-04-04 18:48:24 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-04-05 08:16:25 +0000 |
commit | 2d92162a6b6720d72129bee1bcbef353b0fd0aa6 (patch) | |
tree | b65c453c51a15498a952d9a3e34b7aa93169ed40 /openbsc | |
parent | 7f3724e04d3916ccb9ae7fd5dd0352208159a7cf (diff) |
python: fix Null logger
Change-Id: Ie120273eabbc670e9f19ba365508688a810a2773
Related: SYS#3028
Diffstat (limited to 'openbsc')
-rwxr-xr-x | openbsc/contrib/twisted_ipa.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/contrib/twisted_ipa.py b/openbsc/contrib/twisted_ipa.py index c143852d2..e6d7b1a16 100755 --- a/openbsc/contrib/twisted_ipa.py +++ b/openbsc/contrib/twisted_ipa.py @@ -22,7 +22,7 @@ */ """ -__version__ = "0.5" # bump this on every non-trivial change +__version__ = "0.6" # bump this on every non-trivial change from ipa import Ctrl, IPA from twisted.internet.protocol import ReconnectingClientFactory @@ -318,8 +318,8 @@ class IPAFactory(ReconnectingClientFactory): self.log = log else: self.log = logging.getLogger('IPAFactory') - log.setLevel(logging.CRITICAL) - log.addHandler(logging.NullHandler) + self.log.setLevel(logging.CRITICAL) + self.log.addHandler(logging.NullHandler) def clientConnectionFailed(self, connector, reason): """ |