flake8
passed.
JSHint
passed.
Review Request #13340 — Created Oct. 13, 2023 and updated
This makes the user agent string used for clients accessible from
RBClient
as a property. We also weren't passing on the user agent fromSyncTransport
to theReviewBoardServer
, so if a custom agent was set on the
SyncTransport
, theReviewBoardServer
would still use the default agent.
This change fixes that.
RBClient
in a command.Summary | ID |
---|---|
570dd14ab268f54ba50406217f609d5cc0d84526 |
Description | From | Last Updated |
---|---|---|
Can we call this user_agent instead? agent is pretty generic. |
|
rbtools/api/client.py (Diff revision 1) |
---|
Can we call this
user_agent
instead?agent
is pretty generic.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+38 -4) |
Forgot to actually switch to the
user_agent
variable instead ofagent
.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+38 -4) |