Commit 0166cfa
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 <[email protected]>1 parent 2f75fcb commit 0166cfa
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1456 | 1456 | | |
1457 | 1457 | | |
1458 | 1458 | | |
1459 | | - | |
1460 | | - | |
1461 | | - | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
1462 | 1471 | | |
1463 | 1472 | | |
1464 | 1473 | | |
1465 | 1474 | | |
1466 | 1475 | | |
1467 | 1476 | | |
1468 | | - | |
1469 | | - | |
1470 | 1477 | | |
1471 | 1478 | | |
1472 | 1479 | | |
| |||
0 commit comments