Removed out-of-date comment in _install_handlers and
used issubclass in place of equality comparison of classes.
diff --git a/Lib/logging/config.py b/Lib/logging/config.py
index 822b283..50bacdb 100644
--- a/Lib/logging/config.py
+++ b/Lib/logging/config.py
@@ -155,8 +155,7 @@
h.setLevel(logging._levelNames[level])
if len(fmt):
h.setFormatter(formatters[fmt])
- #temporary hack for FileHandler and MemoryHandler.
- if klass == logging.handlers.MemoryHandler:
+ if issubclass(klass, logging.handlers.MemoryHandler):
if "target" in opts:
target = cp.get(sectname,"target")
else: