]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Strip stdout lines
authorZack Cerza <zack@cerza.org>
Fri, 3 Jan 2014 21:01:31 +0000 (15:01 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 3 Jan 2014 21:01:31 +0000 (15:01 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/queue.py

index 57dcc3d213cd8d3582cda46c13c66dde0d1f9fac..148b5a27c1cdb1d7ae4edc6503f7b3ac36fa68ec 100644 (file)
@@ -115,7 +115,7 @@ def fetch_teuthology_branch(path, branch='master'):
                                      stderr=subprocess.STDOUT)
         while boot_proc.poll() is None:
             for line in boot_proc.stdout.readlines():
-                log.info(line)
+                log.info(line.strip())
         log.info("Bootstrap exited with status %s", boot_proc.returncode)
 
     finally:
@@ -236,7 +236,7 @@ def run_with_watchdog(process, job_config):
                                            stderr=subprocess.STDOUT)
             while report_proc.poll() is None:
                 for line in report_proc.stdout.readlines():
-                    log.info(line)
+                    log.info(line.strip())
                 time.sleep(1)
             log.info("Reported results via the teuthology-report command")
         except Exception: