fromupstream.py: Move return out of loop
Move the return statement out of the loop that processes positional
arguments. Having the return inside the loop meant that the script
would only process one patch even if you gave it more than one patch.
This probably happened because the loop is so long that it's not
possible to keep the whole thing in one screen so no one noticed that
the return was indented too far in. Isn't semantic whitespace such a
I'm not sure how people didn't run into this before but I guess no one
really tries to apply multiple patches at a time.
TEST=applied multiple patches with one call to fromupstream.py
Commit-Ready: Chirantan Ekbote <email@example.com>
Tested-by: Chirantan Ekbote <firstname.lastname@example.org>
Legacy-Commit-Queue: Commit Bot <email@example.com>
Reviewed-by: Douglas Anderson <firstname.lastname@example.org>
Reviewed-by: Alexandru M Stan <email@example.com>
1 file changed