easywebassets/package.py
def _yield_bundle_contents(self, data):
        """Yield bundle contents from the given dict.

        Each item yielded will be either a string representing a file path
        or a bundle."""
        if isinstance(data, list):
            contents = data
        else:
            contents = data.get('contents', [])
            if isinstance(contents, six.string_types):
                contents = contents,
        for content in contents:
            if isinstance(content, dict):
                content = self._create_bundle(content)
            yield content
def _yield_bundle_contents(self, data):
        if isinstance(data, list):
            contents = data
        else:
            contents = data.get('contents', [])
            if isinstance(contents, six.string_types):
                contents = contents,
        for content in contents:
            if isinstance(content, dict):
                content = self._create_bundle(content)
            yield content
def _yield_bundle_contents ( self , data ) : if isinstance ( data , list ) : contents = data else : contents = data . get ( 'contents' , [ ] ) if isinstance ( contents , six . string_types ) : contents = contents , for content in contents : if isinstance ( content , dict ) : content = self . _create_bundle ( content ) yield content
Yield bundle contents from the given dict.

        Each item yielded will be either a string representing a file path
        or a bundle.
Yield bundle contents from the given dict .