

def _major_minor(v):
    rval = [0, 0]
    try:
        for (i, rev) in enumerate(rval.version):
            rval[i] = int(rev)
    except (TypeError, ValueError, IndexError):
        pass
    return rval

dataset/ETHPy150Open ardekantur/pyglet/tools/genmpkg/bdist_mpkg_pyglet/plists.py _major_minor/VarMisuse@31/35 `v`->`rval`