]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
[RM-12168] Don't use store_true and default=None 322/head
authorTravis Rhoden <trhoden@redhat.com>
Thu, 9 Jul 2015 23:48:20 +0000 (16:48 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Thu, 9 Jul 2015 23:48:20 +0000 (16:48 -0700)
commit20c025703b79f6960cba7edeb602eb0b2c84a3a2
tree82f180f21255ef5c36b7af04844a41371a64c977
parent548bd88e88917307bb82a81cc3d39e3b04d31a18
[RM-12168] Don't use store_true and default=None

Not sure why this was ever seen as necessary.  With the store_true
action, it will be False if not present, True if passed on the CLI.

We just need to the boolean value, and there is no need to set
the flag to None instead of False when it is not present.

Fixes: #12168
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/osd.py
ceph_deploy/tests/parser/test_disk.py
ceph_deploy/tests/parser/test_osd.py