def get_content(self, zipbundle):
        """Get content."""

        for content, filename in self.get_zip_content(zipbundle):
            with io.BytesIO(content) as b:
                encoding = self._analyze_file(b)
                if encoding is None:
                    encoding = self.default_encoding
                b.seek(0)
                text = b.read().decode(encoding)
            yield text, filename, encoding
def get_content ( self , zipbundle ) : for content , filename in self . get_zip_content ( zipbundle ) : with io . BytesIO ( content ) as b : encoding = self . _analyze_file ( b ) if encoding is None : encoding = self . default_encoding b . seek ( 0 ) text = b . read ( ) . decode ( encoding ) yield text , filename , encoding
Get content.