]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: catch EntityAddress missing /
authorLoic Dachary <loic@dachary.org>
Sun, 15 Sep 2013 14:40:25 +0000 (16:40 +0200)
committerLoic Dachary <loic@dachary.org>
Mon, 23 Sep 2013 21:46:43 +0000 (23:46 +0200)
commitf9c7bc697ce99479ecbcb47571e416ceb53d6bf3
tree53ded148aa7df198871ef0326ea1909dd5ec2323
parentccf2200841d84c9b61297ccc482cad95fec1ff8c
pybind: catch EntityAddress missing /

If the / is missing in an EntityAddress, an ArgumentValid exception must
be raised so that it can be caught in the same way other argument
validation exceptions are.

http://tracker.ceph.com/issues/6274 refs #6274

Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
src/pybind/ceph_argparse.py