precompressed/storage/base.py
def gzipped_file(self, name, gzipped_name, pregzipped_file):

        """
        gzipped_file returns the gzipped version of the specified file.

        """

        gzip_buffer = StringIO()
        gzipped_file = GzipFile(
            mode='wb',
            compresslevel=self.compresslevel(
                name, gzipped_name, pregzipped_file,
            ),
            fileobj=gzip_buffer,
        )
        gzipped_file.write(pregzipped_file.read())
        gzipped_file.close()
        gzip_buffer.seek(0)
        return File(gzip_buffer)

        gzipped_file returns the gzipped version of the specified file.

        
gzipped_file returns the gzipped version of the specified file.
gzipped_file returns the gzipped version of the specified file .
def gzipped_file(self, name, gzipped_name, pregzipped_file):
        gzip_buffer = StringIO()
        gzipped_file = GzipFile(
            mode='wb',
            compresslevel=self.compresslevel(
                name, gzipped_name, pregzipped_file,
            ),
            fileobj=gzip_buffer,
        )
        gzipped_file.write(pregzipped_file.read())
        gzipped_file.close()
        gzip_buffer.seek(0)
        return File(gzip_buffer)
def gzipped_file ( self , name , gzipped_name , pregzipped_file ) : gzip_buffer = StringIO ( ) gzipped_file = GzipFile ( mode = 'wb' , compresslevel = self . compresslevel ( name , gzipped_name , pregzipped_file , ) , fileobj = gzip_buffer , ) gzipped_file . write ( pregzipped_file . read ( ) ) gzipped_file . close ( ) gzip_buffer . seek ( 0 ) return File ( gzip_buffer )
gzipped_file returns the gzipped version of the specified file.
gzipped_file returns the gzipped version of the specified file .
"""
        gzipped_file returns the gzipped version of the specified file.

        """
self
name
gzipped_name
pregzipped_file