mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-09-12 03:39:55 +00:00
add rebuild implementation to interface
This commit is contained in:
@ -76,5 +76,5 @@ class Rebuild(Handler):
|
||||
List[Package]: list of packages which were stored in database
|
||||
"""
|
||||
if from_database:
|
||||
return application.repository.packages()
|
||||
return [package for (package, _) in application.database.packages_get()]
|
||||
return [package for (package, _) in application.database.packages_get()]
|
||||
return application.repository.packages()
|
||||
|
Reference in New Issue
Block a user