cdc337d9a1
Without this patch, the following exception was raised. root@os-deploy:~# /opt/openstack-ansible/scripts/inventory-manage.py -h Traceback (most recent call last): File "/opt/openstack-ansible/scripts/inventory-manage.py", line 39, in <module> manage.main() File "/opt/openstack-ansible/osa_toolkit/manage.py", line 329, in main user_args = args() File "/opt/openstack-ansible/osa_toolkit/manage.py", line 100, in args return vars(parser.parse_args()) File "/usr/lib/python2.7/argparse.py", line 1701, in parse_args args, argv = self.parse_known_args(args, namespace) File "/usr/lib/python2.7/argparse.py", line 1733, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/usr/lib/python2.7/argparse.py", line 1939, in _parse_known_args start_index = consume_optional(start_index) File "/usr/lib/python2.7/argparse.py", line 1879, in consume_optional take_action(action, args, option_string) File "/usr/lib/python2.7/argparse.py", line 1807, in take_action action(self, namespace, argument_values, option_string) File "/usr/lib/python2.7/argparse.py", line 996, in __call__ parser.print_help() File "/usr/lib/python2.7/argparse.py", line 2340, in print_help self._print_message(self.format_help(), file) File "/usr/lib/python2.7/argparse.py", line 2314, in format_help return formatter.format_help() File "/usr/lib/python2.7/argparse.py", line 281, in format_help help = self._root_section.format_help() File "/usr/lib/python2.7/argparse.py", line 211, in format_help func(*args) File "/usr/lib/python2.7/argparse.py", line 211, in format_help func(*args) File "/usr/lib/python2.7/argparse.py", line 517, in _format_action help_text = self._expand_help(action) File "/usr/lib/python2.7/argparse.py", line 603, in _expand_help return self._get_help_string(action) % params TypeError: unsupported operand type(s) for %: 'tuple' and 'dict' root@os-deploy:~# Change-Id: I9c0d6ce574caabcf4b59b5896aba1b1d21096f79 |
||
---|---|---|
.. | ||
__init__.py | ||
dictutils.py | ||
filesystem.py | ||
generate.py | ||
ip.py | ||
manage.py | ||
tools.py |