]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix linter errors
authorZack Cerza <zack@cerza.org>
Mon, 30 Jun 2014 23:43:54 +0000 (17:43 -0600)
committerZack Cerza <zack@cerza.org>
Mon, 30 Jun 2014 23:43:54 +0000 (17:43 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/task/background_exec.py

index a5d506c544e06caf54b5635305bf4d8d5775f78c..ffe36efa9333d21693e1077803c6ae45418e1101 100644 (file)
@@ -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)