]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-11788] if the attribute is private do not log it
authorAlfredo Deza <adeza@redhat.com>
Thu, 28 May 2015 14:00:58 +0000 (10:00 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 28 May 2015 14:00:58 +0000 (10:00 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph_deploy/cli.py

index c1687265ebfdeab1f14bebd1f6ddeff7b166dc07..7ba37e1128c6f03bb88698761539a5e3f0e0e285 100644 (file)
@@ -32,6 +32,8 @@ def log_flags(args, logger=None):
     logger.info('ceph-deploy options:')
 
     for k, v in args.__dict__.items():
+        if k.startswith('_'):
+            continue
         logger.info(' %-30s: %s' % (k, v))