]> 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, 4 Mar 2015 00:09:52 +0000 (16:09 -0800)
(cherry picked from commit e5876126a9a8a474ddffaf60bdfde960e33717da)

tasks/ceph_manager.py

index e24988f6b0ae3ebea408ae0019b1adba40d687ed..5adb14a42a9ce1fc7efbd0979fe0cca9785a9192 100644 (file)
@@ -119,7 +119,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;
@@ -252,7 +253,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: "