patman: Move main code out to a control module
To make testing easier, move the code out from main into a separate
'control' module and split it into four parts: setup, preparing patches,
checking patches and emailing patches.
Add comments and fix a few code-style issues while we are here.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Showing
tools/patman/control.py
0 → 100644
想要评论请 注册 或 登录