From 69b255b4f5fda1cd70c7dffa19a2f3cc6c5f4f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Fri, 16 Apr 2004 21:23:53 +0000 Subject: [PATCH] Commented. --- plugins/LogToIrc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/LogToIrc.py b/plugins/LogToIrc.py index 562831c53..528f579d3 100644 --- a/plugins/LogToIrc.py +++ b/plugins/LogToIrc.py @@ -133,6 +133,9 @@ _ircHandler.setFormatter(_ircFormatter) class IrcLogLevel(log.LogLevel): """Value must be one of INFO, WARNING, ERROR, or CRITICAL.""" def set(self, s): + # FIXME: Overriding set() here because log.LogLevel.set() sets the + # default log level as well. log.LogLevel and this class should be + # refactored and use registry.OnlySomeStrings in the future. s = s.upper() try: self.setValue(getattr(logging, s))