patman: Define Commit.path in the constructor
authorSimon Glass <sjg@chromium.org>
Thu, 3 Mar 2022 02:12:24 +0000 (19:12 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 19:44:45 +0000 (19:44 +0000)
commitfc6c663af38d2aa2c2438e4bc20227cdb3183e44
treeb3641aa262444dbcce8cd37f5ebec57cd9357cdc
parentbc30585888e27e9b80d2c9d476176f9cde5bf42c
patman: Define Commit.path in the constructor

It is good practice to init all variables in the constructor and pylint
sometimes checks this. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Tom Rini <trini@konsulko.com>
tools/patman/commit.py