We want to support and id many distros. For now if we cannot recognize one we get this:
Error during scanpipe/pipelines/root_filesystems.py execution:
'NoneType' object has no attribute 'to_dict'
Traceback:
File "/home/work/scancode.io/scanpipe/pipelines/__init__.py", line 75, in execute
step(self)
File "/home/work/scancode.io/scanpipe/pipelines/root_filesystems.py", line 50, in collect_rootfs_information
rootfs_data["distro"] = rfs.distro.to_dict()
We want to support and id many distros. For now if we cannot recognize one we get this:
We should instead provide at least a better error message:
This may be something to implement in https://github.com/nexB/container-inspector/blob/develop/src/container_inspector/distro.py partially