mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[arch] improvement: suggestions available for repository packages
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user