Remove potential newline from _find_remote()

Review Request #10653 — Created Aug. 7, 2019 and updated — Latest diff uploaded

luisp
RBTools
release-1.0.x
4829
a09e362...
rbtools
We need to strip() the output from "git remote" if get to the case
where we're looking at the output from "git remote" since it may
contain newlines and later break code that includes the return
value of this function as part of another command.

Fixes bug #4829
  • Ran tests
  • Posted this review using the same commandline mentioned in the bug
  • Posted a review for the the original repo/commandline that spawned bug #4829 using this rbtools patch
Loading...