moveconfig: Use re.fullmatch() to avoid extra check
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:18:54 +0000 (20:18 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:24 +0000 (19:24 -0600)
commitd9c958f49c3dd78b3844514fdb8add3cb0793c54
tree1114fe35c3550ad78bfceadf72f176de1b96e809
parent78f12e53696f937afe5a894912c4c6c576b9010e
moveconfig: Use re.fullmatch() to avoid extra check

Simplify the code by using the available function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/moveconfig.py