From 53d36a7a0c855a4107e9e7d915b042d7f1de626f Mon Sep 17 00:00:00 2001 From: Mike Salvatore <mike.s.salvatore@gmail.com> Date: Wed, 30 Mar 2022 13:51:26 -0400 Subject: [PATCH] Common: Format with Black --- monkey/common/utils/exceptions.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/monkey/common/utils/exceptions.py b/monkey/common/utils/exceptions.py index 945e35415..5935145e7 100644 --- a/monkey/common/utils/exceptions.py +++ b/monkey/common/utils/exceptions.py @@ -1,42 +1,42 @@ class FailedExploitationError(Exception): - """ Raise when exploiter fails instead of returning False """ + """Raise when exploiter fails instead of returning False""" class InvalidRegistrationCredentialsError(Exception): - """ Raise when server config file changed and island needs to restart """ + """Raise when server config file changed and island needs to restart""" class AlreadyRegisteredError(Exception): - """ Raise to indicate the reason why registration is not required """ + """Raise to indicate the reason why registration is not required""" class UnknownUserError(Exception): - """ Raise to indicate that authentication failed """ + """Raise to indicate that authentication failed""" class IncorrectCredentialsError(Exception): - """ Raise to indicate that authentication failed """ + """Raise to indicate that authentication failed""" class NoInternetError(Exception): - """ Raise to indicate problems caused when no internet connection is present""" + """Raise to indicate problems caused when no internet connection is present""" class UnknownFindingError(Exception): - """ Raise when provided finding is of unknown type""" + """Raise when provided finding is of unknown type""" class VersionServerConnectionError(Exception): - """ Raise to indicate that connection to version update server failed """ + """Raise to indicate that connection to version update server failed""" class FindingWithoutDetailsError(Exception): - """ Raise when pulling events for a finding, but get none """ + """Raise when pulling events for a finding, but get none""" class DomainControllerNameFetchError(FailedExploitationError): - """ Raise on failed attempt to extract domain controller's name """ + """Raise on failed attempt to extract domain controller's name""" class InvalidConfigurationError(Exception): - """ Raise when configuration is invalid """ + """Raise when configuration is invalid"""