Prior to this fix, output from 'monitor_babysitter_db --background' still goes
to stdout.  This later results in InputError failures when the calling tty
exits and stdout no longer exists.
---
 scheduler/babysitter_logging_config.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/scheduler/babysitter_logging_config.py 
b/scheduler/babysitter_logging_config.py
index dde41a8..dfcb6e9 100644
--- a/scheduler/babysitter_logging_config.py
+++ b/scheduler/babysitter_logging_config.py
@@ -4,8 +4,7 @@ from autotest_lib.client.common_lib import logging_config
 
 class BabysitterLoggingConfig(logging_config.LoggingConfig):
     def __init__(self, use_console=True):
-        self.use_console = use_console
-        super(BabysitterLoggingConfig, self).__init__()
+        super(BabysitterLoggingConfig, self).__init__(use_console=use_console)
 
     def configure_logging(self):
         super(BabysitterLoggingConfig, self).configure_logging(
-- 
1.7.6

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to