Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed unknown 'exceptions' under Python3 (#49152) #49162

Merged
merged 4 commits into from Aug 17, 2018
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 3 additions & 6 deletions salt/utils/error.py
Expand Up @@ -5,16 +5,13 @@
'''
from __future__ import absolute_import

# Import python libs
try:
import exceptions
except ImportError:
pass

# Import salt libs
import salt.exceptions
import salt.utils.event

# Import 3rd-party libs
from salt.ext.six.moves import builtins as exceptions


def raise_error(name=None, args=None, message=''):
'''
Expand Down