From 56ff66394d00f5a7d33d65df865c35f3126818fb Mon Sep 17 00:00:00 2001 From: Stephan Huber Date: Thu, 14 Jun 2018 09:56:53 +0200 Subject: [PATCH] updated to make sure that tests still run correctly --- moto/ecr/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/ecr/models.py b/moto/ecr/models.py index d3e8aa219..a8ee60c5a 100644 --- a/moto/ecr/models.py +++ b/moto/ecr/models.py @@ -152,7 +152,7 @@ class Image(BaseObject): response_object['registryId'] = self.registry_id response_object['imageSizeInBytes'] = self.image_size_in_bytes response_object['imagePushedAt'] = '2017-05-09' - return {k: v for k, v in response_object.items() if v is not None and v != [None]} + return {k: v for k, v in response_object.items() if v is not None and v != []} @property def response_batch_get_image(self):