]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
minor style cleanup for gatherkeys
authorAlfredo Deza <alfredo.deza@inktank.com>
Tue, 17 Sep 2013 19:51:13 +0000 (15:51 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Wed, 18 Sep 2013 18:49:36 +0000 (14:49 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/gatherkeys.py

index bb48eb0e5dc17a2fe1bac9a2a3dbceef4adb8167..8f5a26b2f912a58d3f7ad832b96af2605d31cb4c 100644 (file)
@@ -7,6 +7,7 @@ from .sudo_pushy import get_transport
 
 LOG = logging.getLogger(__name__)
 
+
 def fetch_file(args, frompath, topath, hosts):
     # mon.
     if os.path.exists(topath):
@@ -27,6 +28,7 @@ def fetch_file(args, frompath, topath, hosts):
     LOG.warning('Unable to find %s on %s', frompath, hosts)
     return False
 
+
 def gatherkeys(args):
     ret = 0
 
@@ -46,8 +48,7 @@ def gatherkeys(args):
     r = fetch_file(
         args=args,
         frompath='/var/lib/ceph/mon/%s-{hostname}/keyring' % args.cluster,
-        topath='{cluster}.mon.keyring'.format(
-             cluster=args.cluster),
+        topath='{cluster}.mon.keyring'.format(cluster=args.cluster),
         hosts=args.mon,
         )
     if not r:
@@ -70,6 +71,7 @@ def gatherkeys(args):
 
     return ret
 
+
 @priority(40)
 def make(parser):
     """