def _yield_bundle_contents(self, data):
if isinstance(data, list):<EOL><INDENT>contents = data<EOL><DEDENT>else:<EOL><INDENT>contents = data.get('<STR_LIT>', [])<EOL>if isinstance(contents, six.string_types):<EOL><INDENT>contents = contents,<EOL><DEDENT><DEDENT>for content in contents:<EOL><INDENT>if isinstance(content, dict):<EOL><INDENT>content = self._create_bundle(content)<EOL><DEDENT>yield content<EOL><DEDENT>
Yield bundle contents from the given dict.

        Each item yielded will be either a string representing a file path
        or a bundle.