new read_installed definition

This commit is contained in:
Vinicius Moreira
2019-08-30 11:46:43 -03:00
parent 9bb6d01c33
commit 95434c4681

View File

@@ -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 = []