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: Simon Glass <s...@chromium.org>
---

 tools/patman/checkpatch.py |   6 ++
 tools/patman/control.py    | 170 +++++++++++++++++++++++++++++++++++++
 tools/patman/gitutil.py    |   4 +-
 tools/patman/main.py       |  57 +------------
 tools/patman/series.py     |   2 +-
 5 files changed, 182 insertions(+), 57 deletions(-)
 create mode 100644 tools/patman/control.py

Applied to u-boot-dm
_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to