Exception with b4 am -3
When running
b4 am -t -g -3 [email protected]
I get:
Looking up https://lore.kernel.org/r/20201116040721.8001-1-rdunlap%40infradead.org
Grabbing thread from lore.kernel.org/linux-spi
Analyzing 2 messages in the thread
---
Writing /home/broonie/queue/spi/next/20201115_rdunlap_spi_dw_fix_build_error_by_selecting_multiplexer.mbx
[PATCH] spi: dw: fix build error by selecting MULTIPLEXER
+ Acked-by: Serge Semin <[email protected]>
---
Total patches: 1
Preparing fake-am for v1: spi: dw: fix build error by selecting MULTIPLEXER
Traceback (most recent call last):
File "/home/broonie/git/b4/b4/command.py", line 238, in <module>
cmd()
File "/home/broonie/git/b4/b4/command.py", line 221, in cmd
cmdargs.func(cmdargs)
File "/home/broonie/git/b4/b4/command.py", line 40, in cmd_am
b4.mbox.main(cmdargs)
File "/home/broonie/git/b4/b4/mbox.py", line 511, in main
mbox_to_am(threadmbox, cmdargs)
File "/home/broonie/git/b4/b4/mbox.py", line 155, in mbox_to_am
rstart, rend = lser.make_fake_am_range(gitdir=None)
File "/home/broonie/git/b4/b4/__init__.py", line 681, in make_fake_am_range
if not len(lmsg.blob_indexes):
TypeError: object of type 'NoneType' has no len()
Omitting the -3 causes things to run successfully.
Quoted 19 lines · Mark Brown
When running
b4 am -t -g -3 [email protected]I get:
Looking up https://lore.kernel.org/r/20201116040721.8001-1-rdunlap%40infradead.org
Grabbing thread from lore.kernel.org/linux-spi
Analyzing 2 messages in the thread
---
Writing/home/broonie/queue/spi/next/20201115_rdunlap_spi_dw_fix_build_error_by_selecting_multiplexer.mbx
[PATCH] spi: dw: fix build error by selecting MULTIPLEXER
+ Acked-by: Serge Semin <[email protected]>
---
Total patches: 1
Preparing fake-am for v1: spi: dw: fix build error by selecting MULTIPLEXER
Traceback (most recent call last):
File "/home/broonie/git/b4/b4/command.py", line 238, in <module>cmd()
Quoted 11 lines
File "
/home/broonie/git/b4/b4/command.py", line 221, in cmd
cmdargs.func(cmdargs)
File "/home/broonie/git/b4/b4/command.py", line 40, incmd_am
b4.mbox.main(cmdargs)
File "/home/broonie/git/b4/b4/mbox.py", line 511, in main
mbox_to_am(threadmbox, cmdargs)
File "/home/broonie/git/b4/b4/mbox.py", line 155, inmbox_to_am
rstart, rend =lser.make_fake_am_range(gitdir=None)
File "/home/broonie/git/b4/b4/__init__.py", line 681, inmake_fake_am_range
if notlen(lmsg.blob_indexes):
TypeError: object of type 'NoneType' has nolen()
Fixed in master and stable-0.5.y, thanks!
-K