Make the user agent accessible from the RBClient class.

Review Request #13340 — Created Oct. 13, 2023 and submitted — Latest diff uploaded

Information

RBTools
release-5.x

Reviewers

This makes the user agent string used for clients accessible from RBClient
as a property. We also weren't passing on the user agent from SyncTransport
to the ReviewBoardServer, so if a custom agent was set on the
SyncTransport, the ReviewBoardServer would still use the default agent.
This change fixes that.

  • Ran unit tests.
  • Used in an upcoming change where I access the user agent from the
    RBClient in a command.

Changes between revision 2 and 3

orig
1
2
3

Commits

Summary ID Author
Make the user agent accessible from the RBClient class.
053625b9815afd9efe69d1bf5c331a35b5bfe03b Michelle Aubin
Make the user agent accessible from the RBClient class.
570dd14ab268f54ba50406217f609d5cc0d84526 Michelle Aubin
rbtools/api/client.py
Loading...