def uncompress(fips_dir, path) :
    if path in '.zip' :
        with zipfile.ZipFile(path, 'r') as archive:
            archive.extractall(get_sdk_dir(fips_dir))
    elif '.bz2' or '.tgz' in path :
        # note: for some reason python's tarfile
        # module cannot completely unpack the 
        # Android NDK tar.gz2 file (tested on OSX with python 2.7),
        # so fall back to command line tar
        subprocess.call('tar -xvf {}'.format(path), cwd=get_sdk_dir(fips_dir), shell=True)

#-------------------------------------------------------------------------------
dataset/ETHPy150Open floooh/fips/mod/android.py/uncompress/swapped operands of `in`