]> scripts.mit.edu Git - wizard.git/commitdiff
Fix duplicate errors in wizard configure.
authorEdward Z. Yang <ezyang@mit.edu>
Sat, 3 Oct 2009 02:55:01 +0000 (22:55 -0400)
committerEdward Z. Yang <ezyang@mit.edu>
Sat, 3 Oct 2009 02:55:01 +0000 (22:55 -0400)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
wizard/command/__init__.py

index b483fe0adae0ffa43109bcf197e90efcee275815..62a561b4ae9366154efbee7f8c1d0f68abcfedd3 100644 (file)
@@ -34,6 +34,7 @@ def makeLogger(options, numeric_args):
     global logging_setup
     if logging_setup: return logging.getLogger()
     logger = logging.getLogger()
+    logger.handlers = [] # under certain cases, a spurious stream handler is set. We don't know why
     logger.setLevel(logging.INFO)
     stderr = logging.StreamHandler(sys.stderr)
     stderr.setFormatter(logging.Formatter('%(levelname)s: %(message)s'))