there is useless 'u' in the wrong info when execute a wrong glance command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Undecided
|
Jaspreet Singh Rawel |
Bug Description
[Summary]
there is useless 'u' in the wrong info when execute a wrong glance command
[Topo]
devstack all-in-one node
[Description and expect result]
no useless 'u' in the wrong info when execute a wrong glance command
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) there is useless 'u' in the wrong info when execute a wrong glance command:
root@45-
usage: glance [--version] [-d] [-v] [--get-schema] [--no-ssl-
glance: error: argument <subcommand>: invalid choice: u'wrongcmd' >>>>ISSUE
2)below is a correct example for reference:
root@45-
usage: keystone [--version] [--debug] [--os-username <auth-user-name>]
keystone: error: argument <subcommand>: invalid choice: 'wrongcmd'
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
Changed in glance: | |
assignee: | nobody → Lin Yang (lin-a-yang) |
affects: | glance → python-glanceclient |
Changed in python-glanceclient: | |
assignee: | Lin Yang (lin-a-yang) → Jaspreet Singh Rawel (jaspreetsinghrawel) |
Apparently we're exposing the python representation of a unicode string directly to the CLI. It should be handled a bit better.