]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Formatting changes
authorDavid Zafman <dzafman@redhat.com>
Fri, 16 Jan 2015 19:21:49 +0000 (11:21 -0800)
committerDavid Zafman <dzafman@redhat.com>
Wed, 21 Jan 2015 17:08:44 +0000 (09:08 -0800)
tasks/ceph_manager.py

index cb24fcaa19cc254e58463aed92ad6252e894d2c8..680e7b114c14e7d1a218c69d142be96d44382603 100644 (file)
@@ -148,7 +148,8 @@ class Thrasher:
         allremotes = list(set(allremotes))
         for remote in allremotes:
             proc = remote.run(args=['type', cmd], wait=True,
-                check_status=False, stdout=StringIO(), stderr=StringIO())
+                              check_status=False, stdout=StringIO(),
+                              stderr=StringIO())
             if proc.exitstatus != 0:
                 return False;
         return True;
@@ -311,7 +312,7 @@ class Thrasher:
                 return
             pg = random.choice(pgs)
             cmd = (prefix + "--op rm-past-intervals --pgid {pg}").\
-                  format(id=osd, pg=pg)
+                format(id=osd, pg=pg)
             proc = remote.run(args=cmd)
             if proc.exitstatus:
                 raise Exception("ceph_objectstore_tool: "