cf12239773
The set --property command requires that the input match the "key=value" type, but if the type don't match, the return value will be None, and the command still can be implemented successfully, this may confuse the users. I think we should raise exception if the argument type don't match "key=value". So I make some changes in KeyValueAction class in this patch. Change-Id: I14e64922faa7e083bc8b5e7e1cac41ef8117c224 Closes-Bug: #1589935
6 lines
193 B
YAML
6 lines
193 B
YAML
---
|
|
fixes:
|
|
- Raise ``ArgumentTypeError`` if the input arguments do not match the type
|
|
``key=value`` when we set properties.
|
|
[Bug `1589935 <https://bugs.launchpad.net/bugs/1589935>`_]
|