The code was supposed to pick the latest version of the repo rpm in this
scenario, but at some point the data structure was updated and the code
was not, so it ended up actually picking the *oldest* version of the
repo rpm.
if pinfo['p'] == familypath and pinfo['f'] == shortdist:
if not reporpms[v].has_key(p):
reporpms[v][p] = {}
- reporpms[v][p][arch] = max(ver, reporpms[v].get(p, 0))
+ reporpms[v][p][arch] = max(ver, reporpms[v][p].get(arch, 0))
platforms[p]['found'] = True
break
else: