mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 21:14:15 +02:00
[arch] refactoring: 'orphan' as a property
This commit is contained in:
@@ -271,3 +271,7 @@ class ArchPackage(SoftwarePackage):
|
||||
return hash((self.view_name, self.repository))
|
||||
else:
|
||||
return hash((self.name, self.repository))
|
||||
|
||||
@property
|
||||
def orphan(self) -> bool:
|
||||
return self.maintainer is None
|
||||
|
||||
Reference in New Issue
Block a user