]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
fix indentation error in docstring
authorAlfredo Deza <adeza@redhat.com>
Thu, 6 Aug 2015 12:41:17 +0000 (08:41 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 28 Jul 2016 21:53:45 +0000 (14:53 -0700)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit af973259eff9ffbbbe9aa209c3b3dd2d80d7219b)

tasks/multibench.py

index bc22b470593d4d8dc4beaf16ca7bf814ff1124d2..13b5ffe2cf8548e308b0da0e56fb4ffd3149bb01 100644 (file)
@@ -36,7 +36,7 @@ def task(ctx, config):
         "please list clients to run on"
 
     def run_one(num):
-    """Run test spawn from gevent"""
+        """Run test spawn from gevent"""
         start = time.time()
         benchcontext = copy.copy(config.get('radosbench'))
         iterations = 0
@@ -48,7 +48,7 @@ def task(ctx, config):
             iterations += 1
     log.info("Starting %s threads"%(str(config.get('segments', 3)),))
     segments = [
-        gevent.spawn(run_one, i) 
+        gevent.spawn(run_one, i)
         for i in range(0, int(config.get('segments', 3)))]
 
     try: