def get_latest_dist():
    lib = file(os.path.join("petlib", "__init__.py")).read()
    v = re.findall("VERSION.*=.*['\"](.*)['\"]", lib)[0]
    return os.path.join("dist",v % "petlib-%s.tar.gz")
dataset/ETHPy150Open gdanezis/petlib/pavement.py/get_latest_dist/swapped operands of `%`