commit | 940a9e215948bd3162865a9a1b792a362a9493de | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Wed Nov 25 15:36:13 2020 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Wed Nov 25 15:36:13 2020 +0800 |
tree | a28082008dc35d58222b8b6226d6d009a5c74001 | |
parent | 805f2a070b7b2227d1646bf83b4b93ea414e1377 [diff] |
Fix TypeError when there exists image with size None When there exists image with size None(e.g.,images whose status is queued), test_list_images_param_sort will raise TypeError: TypeError: '<' not supported between instances of 'int' and 'NoneType', So we should ignore images with size None. Change-Id: Ie084c65303238eaeff0a753915356d72aa039434 Closes-Bug: #1905515