[arch] fix -> uninstall: not detecting hard requirements properly

This commit is contained in:
Vinicius Moreira
2020-09-11 11:17:27 -03:00
parent 590eb2abd2
commit 293d2a5fb0
15 changed files with 235 additions and 86 deletions

View File

@@ -1,5 +1,13 @@
from typing import Optional
class PackageNotFoundException(Exception):
def __init__(self, name: str):
self.name = name
class PackageInHoldException(Exception):
def __init__(self, name: Optional[str] = None):
self.name = name