mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix linter issues
This commit is contained in:
parent
503cdd246e
commit
2b35437838
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ IPC transport classes
|
|||
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
import errno
|
||||
import logging
|
||||
import socket
|
||||
import weakref
|
||||
|
@ -742,7 +743,7 @@ class IPCMessageSubscriber(object):
|
|||
|
||||
def reraise(self, exc_info):
|
||||
if six.PY2:
|
||||
raise exc_info[0], exc_info[1], exc_info[2]
|
||||
raise exc_info[0], exc_info[1], exc_info[2] # pylint: disable=W1699
|
||||
else:
|
||||
raise exc_info[0].with_traceback(exc_info[1], exc_info[2])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue