def parse(path, platform):
    try:
        with open(path) as fi:
            data = fi.read()
    except IOError:
        sys.exit(path % "Error: could not open '%s' for reading")
    res = yaml.load(select_lines(data, ns_platform(platform)))

    try:
        res['version'] = str(res['version'])
    except KeyError:
        pass

    for key in list(res):
        if res[key] is None:
            del res[key]

    return res
dataset/ETHPy150Open conda/constructor/constructor/construct.py/parse/swapped operands of `%`