Fix name -> package_name typo in logger creation.
authorW. Trevor King <wking@drexel.edu>
Thu, 28 Jul 2011 16:59:00 +0000 (12:59 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 28 Jul 2011 16:59:00 +0000 (12:59 -0400)
h5config/tools.py

index e6335ad134e90e6e3ed58cacf2c01451f450c754..38b872e2ff63f7ce4eab966cc66c336f5a7c53db 100644 (file)
@@ -75,7 +75,7 @@ class PackageConfig (_config.Config):
             namespace = _sys.modules[package_name]
         self._namespace = namespace
         if not logger:
-            logger = _log.get_basic_logger(name, level=_logging.WARN)
+            logger = _log.get_basic_logger(package_name, level=_logging.WARN)
         self._logger = logger
 
     def _name(self):