From 21f874b5d37803260184929ac481e9ce93e718f1 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 19 Jul 2016 17:56:58 -0600 Subject: [PATCH] Drop use of xreadlines() Signed-off-by: Zack Cerza --- teuthology/orchestra/run.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/teuthology/orchestra/run.py b/teuthology/orchestra/run.py index 74d68936de..c5b1c77fb2 100644 --- a/teuthology/orchestra/run.py +++ b/teuthology/orchestra/run.py @@ -246,9 +246,7 @@ def copy_to_log(f, logger, loglevel=logging.INFO): if isinstance(f, ChannelFile): f._flags += ChannelFile.FLAG_BINARY - # i can't seem to get fudge to fake an iterable, so using this old - # api for now - for line in f.xreadlines(): + for line in f.readlines(): line = line.rstrip() # Second part of work-around for http://tracker.ceph.com/issues/8313 try: -- 2.39.5