mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Fix tests and lint
This commit is contained in:
parent
8974550868
commit
c8f67c2b89
@ -172,14 +172,14 @@ class SaltWheelError(SaltException):
|
||||
|
||||
|
||||
class SaltSystemExit(SystemExit):
|
||||
'''
|
||||
This exception is raised when an unsolvable problem is found. There's
|
||||
nothing else to do, salt should just exit.
|
||||
'''
|
||||
def __init__(self, code=0, msg=None):
|
||||
SystemExit.__init__(self, code)
|
||||
if msg:
|
||||
self.message = msg
|
||||
'''
|
||||
This exception is raised when an unsolvable problem is found. There's
|
||||
nothing else to do, salt should just exit.
|
||||
'''
|
||||
def __init__(self, code=0, msg=None):
|
||||
SystemExit.__init__(self, code)
|
||||
if msg:
|
||||
self.message = msg
|
||||
|
||||
|
||||
class SaltCloudException(SaltException):
|
||||
|
@ -28,7 +28,7 @@ import salt.utils
|
||||
import salt.utils.network
|
||||
import integration
|
||||
from salt import config as sconfig
|
||||
from salt.cloud.exceptions import SaltCloudConfigError
|
||||
from salt.exceptions import SaltCloudConfigError
|
||||
|
||||
# Import Third-Party Libs
|
||||
import yaml
|
||||
|
Loading…
Reference in New Issue
Block a user