]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_argparse.py: fix some ArgumentValid() commands
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 11 Jul 2013 13:54:36 +0000 (15:54 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 11 Jul 2013 13:54:36 +0000 (15:54 +0200)
commita28d5d641f42a5422b067e84fe660798dbf517ca
tree68eca132e672cab3cd90d56e1f35ca0ff2dfe2fe
parent3c4ae8399ef7694bcd5581bc78a123280ed3f787
ceph_argparse.py: fix some ArgumentValid() commands

Fix raise call for ArgumentValid(): self has no member t, use
t directly. Moved one check in the correct block to avoide useless
checks.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/pybind/ceph_argparse.py