Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pybind/ceph_argparse: handle non ascii unicode args #8943

Merged
merged 1 commit into from
Jul 22, 2016

Commits on Jul 22, 2016

  1. pybind/ceph_argparse: handle non ascii unicode args

    we raise UnicodeDecodeError at seeing non-ascii args if we fail to match
    it with any command signatures. instead, we should use a unicode string
    for representing the error in that case. please note, the exception is
    not printed at all in real-world. =)
    
    Fixes: http://tracker.ceph.com/issues/12287
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Jul 22, 2016
    Configuration menu
    Copy the full SHA
    5864626 View commit details
    Browse the repository at this point in the history