[arch] fixes -> not displaying and uninstalling dependent packages during conflict resolutions | not retrieving all packages that would break if a given package is uninstalled

This commit is contained in:
Vinicius Moreira
2020-09-03 18:06:43 -03:00
parent 2b652532be
commit 129ede9c6c
12 changed files with 118 additions and 114 deletions

View File

@@ -72,7 +72,7 @@ class TransactionResult:
The result of a given operation
"""
def __init__(self, success: bool, installed: List[SoftwarePackage], removed: List[SoftwarePackage]):
def __init__(self, success: bool, installed: Optional[List[SoftwarePackage]], removed: Optional[List[SoftwarePackage]]):
self.success = success
self.installed = installed
self.removed = removed