patman: Define Commit.path in the constructor
authorSimon Glass <sjg@chromium.org>
Thu, 3 Mar 2022 02:12:24 +0000 (19:12 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:24 +0000 (19:24 -0600)
commit04fce6ff705c455241a180495043c8cd4c4ad81e
treef36af2df6c87f1eef4d353ee1e0cec9251850add
parent79e1d289b71aec48ce765513eaeb5c12992fa348
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