patman: Pass in maintainer dirs to avoid and import
authorSimon Glass <sjg@chromium.org>
Sun, 7 Jun 2020 12:45:48 +0000 (06:45 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:57:22 +0000 (18:57 -0600)
commit156e655372f4221844d3483045dfdeffbb8bd0b1
tree879e0b5f7609583b14edcad556d8236ab2c10f93
parent38a9d3b31aec796a23f98ace17ebe6f7baf326fc
patman: Pass in maintainer dirs to avoid and import

Adjust the get_maintainer module to accept a list of directories to search
for the script. This avoids needing to import gitutil.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Stefan Bosch <stefan_b@posteo.net>
tools/patman/get_maintainer.py
tools/patman/series.py