summaryrefslogtreecommitdiff
path: root/.papr.sh
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2018-11-27 16:06:14 -0700
committerEd Santiago <santiago@redhat.com>2018-11-27 16:13:36 -0700
commit8b2affbd5bc56e822059b07730b52870760d39be (patch)
treedacf98c67923e0f231dbff7a8db6ea9eadaf6225 /.papr.sh
parent6df7409cb5a41c710164c42ed35e33b28f3f7214 (diff)
downloadpodman-8b2affbd5bc56e822059b07730b52870760d39be.tar.gz
podman-8b2affbd5bc56e822059b07730b52870760d39be.tar.bz2
podman-8b2affbd5bc56e822059b07730b52870760d39be.zip
_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>
Diffstat (limited to '.papr.sh')
0 files changed, 0 insertions, 0 deletions