]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Updating cmd/manage.py get_arg_string() argument parser and adding unit test
authorDaniel Allegood <daniel.allegood@hp.com>
Wed, 27 May 2015 17:27:06 +0000 (10:27 -0700)
committerDaniel Allegood <daniel.allegood@hp.com>
Thu, 28 May 2015 18:10:22 +0000 (18:10 +0000)
commit7cd2d93c45fffc50155fd6833ff3cb267aea7579
tree13e60f522bcd8e02aced1dc420bd88321a434262
parent35f2278a906852226eb844f81e8e1a86f41e598b
Updating cmd/manage.py get_arg_string() argument parser and adding unit test

Looks like get_arg_string() would improperly chop off the first two characters
of an argument that was passed in with one dash.  For example,
passing '-option foo' would return 'tion foo' instead of 'option foo'.

Change-Id: Ib9aee601711b22c5243aca35f5c6196f494d23a9
Closes-Bug: #1459453
cinder/cmd/manage.py
cinder/tests/unit/test_cmd.py