Merge "Filter empty messages when creating claims in Swift"

This commit is contained in:
Jenkins 2017-02-22 21:52:32 +00:00 committed by Gerrit Code Review
commit 9d82c1acde

View File

@ -96,6 +96,8 @@ def _filter_messages(messages, filters, marker, get_object, list_objects,
if exc.http_status == 404:
continue
raise
if not obj:
continue
obj = jsonutils.loads(obj)
for should_skip in filters:
if should_skip(obj, headers):