Fix super-call-with-parameters (UP008) Ruff warning (#2832)

This commit is contained in:
correctmost 2024-11-16 04:54:46 -05:00 committed by GitHub
parent 44eb7f92e9
commit b96194d51a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class UnknownFilesystemFormat(Exception):
class SysCallError(Exception):
def __init__(self, message: str, exit_code: Optional[int] = None, worker: Optional['SysCommandWorker'] = None) -> None:
super(SysCallError, self).__init__(message)
super().__init__(message)
self.message = message
self.exit_code = exit_code
self.worker = worker