From 32d094a40205225d7bf245fa4eb32c8692f3fbe6 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 30 Jun 2014 17:43:54 -0600 Subject: [PATCH] Fix linter errors Signed-off-by: Zack Cerza --- teuthology/task/background_exec.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/teuthology/task/background_exec.py b/teuthology/task/background_exec.py index a5d506c544..ffe36efa93 100644 --- a/teuthology/task/background_exec.py +++ b/teuthology/task/background_exec.py @@ -4,13 +4,13 @@ Background task import contextlib import logging -import os from teuthology import misc from ..orchestra import run log = logging.getLogger(__name__) + @contextlib.contextmanager def task(ctx, config): """ @@ -48,7 +48,8 @@ def task(ctx, config): tasks = {} for role, cmd in config.iteritems(): (remote,) = ctx.cluster.only(role).remotes.iterkeys() - log.info('Running background command on role %s host %s', role, remote.name) + log.info('Running background command on role %s host %s', role, + remote.name) if isinstance(cmd, list): cmd = '; '.join(cmd) cmd.replace('$TESTDIR', testdir) -- 2.39.5