It is easier for tests if the top-level control logic is all in one module. Create a new do_patman() function to handle this. Move the existing code into it.
Signed-off-by: Simon Glass <s...@chromium.org> --- (no changes since v1) tools/patman/__main__.py | 49 ++---------------------------------- tools/patman/control.py | 54 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 54 insertions(+), 49 deletions(-) Applied to sjg/master, thanks!