From 95434c46816fa108c0e5de050a9d7dcbc3f6e01c Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Fri, 30 Aug 2019 11:46:43 -0300 Subject: [PATCH] new read_installed definition --- bauh/core/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/core/controller.py b/bauh/core/controller.py index a44e1ee8..666cf009 100755 --- a/bauh/core/controller.py +++ b/bauh/core/controller.py @@ -96,7 +96,7 @@ class GenericSoftwareManager(SoftwareManager): self.thread_prepare.join() self.thread_prepare = None - def read_installed(self, disk_loader: DiskCacheLoader = None, pkg_types: Set[Type[SoftwarePackage]] = None) -> List[SoftwarePackage]: + def read_installed(self, disk_loader: DiskCacheLoader = None, limit: int = -1, only_apps: bool = False, pkg_types: Set[Type[SoftwarePackage]] = None) -> List[SoftwarePackage]: self._wait_to_be_ready() installed = []