mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fixed an error with SIGKILL on windows
This commit is contained in:
parent
d8f4160170
commit
08bd4761df
@ -21,7 +21,7 @@ from urllib2 import URLError
|
||||
# Fix a nasty bug with Win32 Python not supporting all of the standard signals
|
||||
try:
|
||||
salt_SIGKILL = signal.SIGKILL
|
||||
except NameError:
|
||||
except AttributeError:
|
||||
salt_SIGKILL = signal.SIGTERM
|
||||
|
||||
# Import salt libs
|
||||
|
Loading…
Reference in New Issue
Block a user