Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 266493 | Differences between
and this patch

Collapse All | Expand All

(-)versions.py (-8 / +1 lines)
Lines 203-216 Link Here
203
	"""
203
	"""
204
	if pkg1[0] != pkg2[0]:
204
	if pkg1[0] != pkg2[0]:
205
		return None
205
		return None
206
	mycmp = vercmp("-".join(pkg1[1:]), "-".join(pkg2[1:]))
206
	return vercmp("-".join(pkg1[1:]), "-".join(pkg2[1:]))
207
	if mycmp is None:
208
		return mycmp
209
	if mycmp > 0:
210
		return 1
211
	if mycmp < 0:
212
		return -1
213
	return 0
214
207
215
208
216
pkgcache={}
209
pkgcache={}

Return to bug 266493