index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/exceptions.py | 4 |
diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py index 147b239b..aa86124b 100644 --- a/archinstall/lib/exceptions.py +++ b/archinstall/lib/exceptions.py @@ -1,3 +1,5 @@ +from typing import Optional + class RequirementError(BaseException): pass @@ -15,7 +17,7 @@ class ProfileError(BaseException): class SysCallError(BaseException): - def __init__(self, message, exit_code): + def __init__(self, message :str, exit_code :Optional[int]) -> None: super(SysCallError, self).__init__(message) self.message = message self.exit_code = exit_code |