Avoid TypeError while coercing string to int
Review Request #9940 — Created May 15, 2018 and submitted — Latest diff uploaded
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 anint
and just splat it into the string to avoid a
TypeError whenp
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 |
---|