reviewboard/cmdline/rbssh.py (Diff revision 1)Show all issues
Review Request #11948 — Created Jan. 20, 2022 and submitted
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.
E402 module level import not at top of file