def getInstallerItemBasename(url):

    url_parse = urlparse.urlparse(url)
    return os.path.basename(url_parse.path)
Replace sequence of whitespaces by a single space
dataset/ETHPy150Open munki/munki/code/client/munkilib/updatecheck.py/getInstallerItemBasename--crossover with--dataset/ETHPy150Open cynddl/sublime-text-merlin/merlin/helpers.py/clean_whitespace