From: Zack Cerza Date: Mon, 30 Jun 2014 23:43:54 +0000 (-0600) Subject: Fix linter errors X-Git-Tag: 1.1.0~1363 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=32d094a40205225d7bf245fa4eb32c8692f3fbe6;p=teuthology.git Fix linter errors Signed-off-by: Zack Cerza --- 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)