Add better version output and remove warnings in rbssh.
Review Request #11948 — Created Jan. 20, 2022 and submitted — Latest diff uploaded
This makes a couple of key changes to help diagnose issues in rbssh.
--versionnow shows the Python version and the Review Board package
location, to help ensure that the right version is being run.
Warnings are now disabled at the top of the module, before we import
anything that may warn. This helps avoid some bad output that can occur,
depending on versions of packages and Python, particularly with
Verified that this got rid of warnings that messed up test output.
--versionshowed the correct information.