dkropachev opened a new pull request, #790: URL: https://github.com/apache/cassandra-ccm/pull/790
When `paramiko` is installed CCM is adding remote part of CLI. In order to build it, CCM reads renders `argparser` usage string. Recently `argparser` have changed format and now `optional arguments:` is not there anymore. Fix code to not to fail in any case. Failure: ``` ccm create gocql_cassandra_integration_test -i 127.0.2 -v 4.1.6 -n 3 -d --vnodes --jvm_arg="-Xmx256m -XX:NewSize=100m" Traceback (most recent call last): File "/home/dmitry.kropachev/.local/bin/ccm", line 107, in <module> parser = cmd.get_parser() File "/home/dmitry.kropachev/.local/lib/python3.10/site-packages/ccmlib/cmds/command.py", line 60, in get_parser get_remote_usage() File "/home/dmitry.kropachev/.local/lib/python3.10/site-packages/ccmlib/remote.py", line 32, in get_remote_usage return RemoteOptionsParser().usage() File "/home/dmitry.kropachev/.local/lib/python3.10/site-packages/ccmlib/remote.py", line 497, in usage usage = self.parser.format_help().split("optional arguments:")[1] IndexError: list index out of range ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org