Commits

Michał Górny committed 61e764b

Portage: fix incomplete package keys.

Comments (0)

Files changed (1)

gentoopm/portagepm/atom.py

 		return catsplit(self)[1]
 
 class PortageIncompletePackageKey(PMIncompletePackageKey, PortagePackageKey):
-	pass
+	def __new__(self, key):
+		return PMIncompletePackageKey.__new__(self, catsplit(key)[1])
 
 class PortagePackageVersion(PMPackageVersion):
 	def __init__(self, cpv):