The 'decompress_func' argument of the '_CompressedFile' class constructor is
optional, so make it be 'None' by default.
Change-Id: I94e8fc185ae4ccc3e1fc2312dc943908dc7ecdd9
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
""" This class implements transparent reading from a compressed file-like
object and decompressing its contents on-the-fly. """
- def __init__(self, file_obj, decompress_func):
+ def __init__(self, file_obj, decompress_func = None):
""" Class constructor. The 'file_ojb' argument is the compressed
file-like object to read from. The 'decompress_func()' function is a
function to use for decompression. """