Avoid TypeError while coercing string to int

Review Request #9940 — Created May 15, 2018 and submitted — Latest diff uploaded

Information

RBTools
release-1.0.x
be2c67d...

Reviewers

A change in the rbtools patch support a while back regressed the
behaviour of the -p flag that is passed to patch(1). We now no longer
assume that is an int and just splat it into the string to avoid a
TypeError when p is a string like '4'.

Ran unit tests.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2
rbtools/clients/__init__.py
Loading...