def extract_source(bundle_path, source_path):
    """
    Extract the source bundle
    :param bundle_path: path to the aource bundle *.tar.gz
    :param source_path: path to location where to extractall
    """
    with tarfile.open(bundle_path, 'r:gz') as tf:
        tf.extractall(path=source_path)
    logger.debug("Archive Files: %s" % os.listdir(os.path.dirname(bundle_path)))
Extract the source bundle
    :param bundle_path: path to the aource bundle *.tar.gz
    :param source_path: path to location where to extractall