This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.orgMax has submitted this change and it was merged.
Change subject: python: fix Null logger
......................................................................
python: fix Null logger
Change-Id: Ie120273eabbc670e9f19ba365508688a810a2773
Related: SYS#3028
---
M openbsc/contrib/twisted_ipa.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/openbsc/contrib/twisted_ipa.py b/openbsc/contrib/twisted_ipa.py
index c143852..e6d7b1a 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 @@
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):
"""
--
To view, visit https://gerrit.osmocom.org/2226
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie120273eabbc670e9f19ba365508688a810a2773
Gerrit-PatchSet: 3
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>