Fixed an error with SIGKILL on windows

This commit is contained in:
Daniel Hobley 2015-03-10 11:41:55 +01:00 committed by Justin Findlay
parent d8f4160170
commit 08bd4761df

View File

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