(obj_dump, decompress=True)
return cPickle.loads(obj_decompress)
Decompress a zlib compressed string and unpickle the data

   :param obj: the object to be decompressend and unpickled
Decompress a zlib compressed string and unpickle the data
Decompress a zlib compressed string and unpickle the data
def unpickleAndDecompress(obj_dump, decompress=True):
   """ Decompress a zlib compressed string and unpickle the data

   :param obj: the object to be decompressend and unpickled
   """
   if decompress:
      if not ZLIB_SUPPORT:
         Util.raiseException('zlib not found !', ImportError)
      obj_decompress = zlib.decompress(obj_dump)
   else:
      obj_decompress = obj_dump
   return cPickle.loads(obj_decompress)
def unpickleAndDecompress ( obj_dump , decompress = True ) : if decompress : if not ZLIB_SUPPORT : Util . raiseException ( 'zlib not found !' , ImportError ) obj_decompress = zlib . decompress ( obj_dump ) else : obj_decompress = obj_dump return cPickle . loads ( obj_decompress )