Fix tests and lint

This commit is contained in:
Mike Place 2014-09-03 14:17:27 -06:00
parent 8974550868
commit c8f67c2b89
2 changed files with 9 additions and 9 deletions

View File

@ -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):

View File

@ -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