Commit 0446579
committed
scripts: compliance: Avoid exception when commit message body is empty
Avoid the following exception in the Identity test when the commit body
is empty:
Traceback (most recent call last):
File "/Users/carles/src/zephyr/zephyr/../zephyr/scripts/ci/check_compliance.py", line 2053, in main
n_fails = _main(args)
^^^^^^^^^^^
File "/Users/carles/src/zephyr/zephyr/../zephyr/scripts/ci/check_compliance.py", line 1988, in _main
test.run()
File "/Users/carles/src/zephyr/zephyr/../zephyr/scripts/ci/check_compliance.py", line 1459, in run
auth_name, auth_email, body = git(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 3, got 2)
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>1 parent 2f75fcb commit 0446579
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
1459 | 1464 | | |
1460 | | - | |
1461 | | - | |
1462 | 1465 | | |
1463 | 1466 | | |
1464 | 1467 | | |
| |||
0 commit comments