[arch] improvement: suggestions available for repository packages

This commit is contained in:
Vinicius Moreira
2022-05-20 17:17:54 -03:00
parent dbef9a8964
commit fbd98d8b31
16 changed files with 446 additions and 38 deletions

View File

@@ -299,6 +299,14 @@ class SuggestionPriority(Enum):
HIGH = 2
TOP = 3
def __gt__(self, other):
if isinstance(other, SuggestionPriority):
return self.value > other.value
def __lt__(self, other):
if isinstance(other, SuggestionPriority):
return self.value < other.value
class PackageSuggestion: