spiegel_podman/contrib/python
Ed Santiago 8b2affbd5b _split_token(): handle None
The conditional + list comprehension in images.py:_split_token()
wasn't quite working as intended; in particular, when fed None,
it chokes with

    TypeError: 'NoneType' object is not iterable

This is the correct behavior: comprehensions iterate first,
then apply the conditional.

Solution: special-case None, and remove the now-unnecessary
conditional.

Context: seen when trying 'pypodman run' against
docker.io/stackbrew/centos:7, which has no .ContainerConfig.Eng

Signed-off-by: Ed Santiago <santiago@redhat.com>
2018-11-27 16:13:36 -07:00
..
podman _split_token(): handle None 2018-11-27 16:13:36 -07:00
pypodman Actually set version for podman module / pypodman 2018-11-25 13:50:19 +01:00
.gitignore Provide examples for python podman API 2018-06-01 21:19:56 +00:00